<?xml version="1.0" encoding="utf-8"?>
<orm:MappingRoot MapDataStructure="Administration" TransactionType="ADONET" Namespace="Acom.AppOrganization" TransactionForRetrieve="false" RetrievePattern="Select_[Object]" SetSelectPattern="SelectAll_[Object]" CreatePattern="Insert_[Object]" UpdatePattern="Update_[Object]" DeletePattern="Delete_[Object]" Generate="CRUDS" CollectionType="Plural" xmlns:orm="http://kadgen.com/KADORM.xsd">
  <orm:SQLFunctionReplacement>
    <orm:SQLFunction Name="getdate" ReplaceWith="System.DateTime.Today" NETType="System.DateTime" />
  </orm:SQLFunctionReplacement>
  <orm:UniqueNamespaces />
  <orm:Assembly MapDataStructure="Administration" Name="ACom.AppOrganization" xmlns="" xmlns:kd="http://kadgen.com/Special.xsd">
    <orm:Object Name="StringValue" OriginalName="StringValue" SingularName="StringValue" PluralName="StringValues" DisplayName="StringValueGuid" Caption="String Value" PluralCaption="String Values" DeletePriority="0" InsertPriority="1" TableName="StringValue" CollectionName="StringValues" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="StringValue" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_StringValue" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringValueGuid" Direction="IN" MaxLength="0" Caption="String Value Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringValueGuid" CasedName="stringValueGuid" />
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@CultureGuid" Direction="IN" MaxLength="0" Caption="Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="CultureGuid" CasedName="cultureGuid" />
        <orm:Parameter Name="@OriginalString" Direction="IN" MaxLength="500" Caption="Original String" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OriginalString" CasedName="originalString" />
        <orm:Parameter Name="@OrganizationString" Direction="IN" MaxLength="500" Caption="Organization String" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OrganizationString" CasedName="organizationString" />
        <orm:Parameter Name="@MachineTranslated" Direction="IN" MaxLength="0" Caption="Machine Translated" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="MachineTranslated" CasedName="machineTranslated" />
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
        <orm:Parameter Name="@TranslationSource" Direction="IN" MaxLength="50" Caption="Translation Source" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="TranslationSource" CasedName="translationSource" />
        <orm:Parameter Name="@TranslationDate" Direction="IN" MaxLength="0" Caption="Translation Date" SQLType="datetime" BaseNETType="System.DateTime" NETType="System.DateTime" ShortNETType="DateTime" PropertyName="TranslationDate" CasedName="translationDate" />
        <orm:Parameter Name="@NeedsReview" Direction="IN" MaxLength="0" Caption="Needs Review" SQLType="tinyint" BaseNETType="System.Byte" NETType="System.Byte" ShortNETType="Byte" PropertyName="NeedsReview" CasedName="needsReview" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_StringValue" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringValueGuid" Direction="IN" MaxLength="0" Caption="String Value Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringValueGuid" CasedName="stringValueGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_StringValue" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringValueGuid" Direction="IN" MaxLength="0" Caption="String Value Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringValueGuid" CasedName="stringValueGuid" />
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@CultureGuid" Direction="IN" MaxLength="0" Caption="Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="CultureGuid" CasedName="cultureGuid" />
        <orm:Parameter Name="@OriginalString" Direction="IN" MaxLength="500" Caption="Original String" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OriginalString" CasedName="originalString" />
        <orm:Parameter Name="@OrganizationString" Direction="IN" MaxLength="500" Caption="Organization String" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OrganizationString" CasedName="organizationString" />
        <orm:Parameter Name="@MachineTranslated" Direction="IN" MaxLength="0" Caption="Machine Translated" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="MachineTranslated" CasedName="machineTranslated" />
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
        <orm:Parameter Name="@TranslationSource" Direction="IN" MaxLength="50" Caption="Translation Source" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="TranslationSource" CasedName="translationSource" />
        <orm:Parameter Name="@TranslationDate" Direction="IN" MaxLength="0" Caption="Translation Date" SQLType="datetime" BaseNETType="System.DateTime" NETType="System.DateTime" ShortNETType="DateTime" PropertyName="TranslationDate" CasedName="translationDate" />
        <orm:Parameter Name="@NeedsReview" Direction="IN" MaxLength="0" Caption="Needs Review" SQLType="tinyint" BaseNETType="System.Byte" NETType="System.Byte" ShortNETType="Byte" PropertyName="NeedsReview" CasedName="needsReview" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_StringValue" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringValueGuid" Direction="IN" MaxLength="0" Caption="String Value Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringValueGuid" CasedName="stringValueGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_StringValue" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="StringLogicalLocation" UniqueName="StringLogicalLocation">
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Application" UniqueName="Application">
          <orm:ForeignKey ChildColumn="ApplicationGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="ApplicationGuid" ParentColumn="ApplicationGuid" ParentTable="Application" ParentObject="Application" ParentProperty="ApplicationGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Culture" UniqueName="Culture">
          <orm:ForeignKey ChildColumn="CultureGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="CultureGuid" ParentColumn="CultureGuid" ParentTable="Culture" ParentObject="Culture" ParentProperty="CultureGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="ResourceGenerationLocation" UniqueName="ResourceGenerationLocation">
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringLogicalLocation" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLocation" ParentObject="ResourceGenerationLocation" ParentProperty="StringLogicalLocationGuid" />
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:FilterCriteria Name="OriginalString" SPName="Select_StringValue_By_OriginalString" Caption="Original String" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="OriginalString" TableName="StringValue" Caption="Original String" ColumnName="OriginalString" NETType="System.String" />
      </orm:FilterCriteria>
      <orm:SetFilterCriteria Name="OriginalString" SPName="SelectAll_StringValue_By_OriginalString" Caption="" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="OriginalString" TableName="StringValue" Caption="Original String" ColumnName="OriginalString" NETType="System.String" />
      </orm:SetFilterCriteria>
      <orm:SetFilterCriteria Name="CultureGuid" SPName="SelectAll_StringValue_By_CultureGuid" Caption="" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="CultureGuid" TableName="Culture" Caption="Culture Guid" ColumnName="CultureGuid" NETType="System.Guid" />
      </orm:SetFilterCriteria>
      <orm:Properties>
        <orm:Property Name="StringValueGuid" ColumnName="StringValueGuid" TableName="StringValue" NETType="System.Guid" Caption="String Value Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="StringValueGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringValueGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="StringLogicalLocationGuid" ColumnName="StringLogicalLocationGuid" TableName="StringValue" NETType="System.Guid" Caption="String Logical Location Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="StringLogicalLocationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="3" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLogicalLocationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureGuid" ColumnName="CultureGuid" TableName="StringValue" NETType="System.Guid" Caption="Culture Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="CultureGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OriginalString" ColumnName="OriginalString" TableName="StringValue" NETType="System.String" Caption="Original String" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="500" Ordinal="4" OriginalName="OriginalString" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="originalString">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationString" ColumnName="OrganizationString" TableName="StringValue" NETType="System.String" Caption="Organization String" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="500" Ordinal="5" OriginalName="OrganizationString" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationString">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="MachineTranslated" ColumnName="MachineTranslated" TableName="StringValue" NETType="System.Boolean" Caption="Machine Translated" ShortNETType="Boolean" VBTypeAlias="Boolean" CSharpType="bool" VBNETType="System.Boolean" AllowNulls="false" BaseNETType="System.Boolean" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="6" OriginalName="MachineTranslated" SQLType="bit" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="machineTranslated">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ApplicationGuid" ColumnName="ApplicationGuid" TableName="StringValue" NETType="System.Guid" Caption="Application Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="7" OriginalName="ApplicationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="applicationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="TranslationSource" ColumnName="TranslationSource" TableName="StringValue" NETType="System.String" Caption="Translation Source" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="8" OriginalName="TranslationSource" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="translationSource">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="TranslationDate" ColumnName="TranslationDate" TableName="StringValue" NETType="System.DateTime" Caption="Translation Date" ShortNETType="DateTime" VBTypeAlias="Date" CSharpType="System.DateTime" VBNETType="System.DateTime" AllowNulls="true" BaseNETType="System.DateTime" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="9" OriginalName="TranslationDate" SQLType="datetime" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="translationDate">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="NeedsReview" ColumnName="NeedsReview" TableName="StringValue" NETType="System.Byte" Caption="Needs Review" ShortNETType="Byte" VBTypeAlias="Byte" CSharpType="byte" VBNETType="System.Byte" AllowNulls="true" BaseNETType="System.Byte" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="10" OriginalName="NeedsReview" SQLType="tinyint" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="needsReview" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureId" ColumnName="CultureId" TableName="Culture" NETType="System.String" Caption="Culture Id" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" MaxLength="10" Ordinal="12" OriginalName="CultureId" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureId">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureName" ColumnName="CultureName" TableName="Culture" NETType="System.String" Caption="Culture Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" MaxLength="50" Ordinal="13" OriginalName="CultureName" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="UnderlyingIdentifier" ColumnName="UnderlyingIdentifier" TableName="Culture" NETType="System.String" Caption="Underlying Identifier" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" MaxLength="50" Ordinal="14" OriginalName="UnderlyingIdentifier" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="underlyingIdentifier">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Description" ColumnName="Description" TableName="Culture" NETType="System.String" Caption="Description" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" MaxLength="50" Ordinal="15" OriginalName="Description" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="description" IsLocalizedProperty="true">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="Culture" OriginalName="Culture" SingularName="Culture" PluralName="Cultures" DisplayName="CultureGuid" Caption="Culture" PluralCaption="Cultures" DeletePriority="0" InsertPriority="0" TableName="Culture" CollectionName="Cultures" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="Culture" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_Culture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@CultureGuid" Direction="IN" MaxLength="0" Caption="Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="CultureGuid" CasedName="cultureGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@CultureName" Direction="IN" MaxLength="50" Caption="Culture Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureName" CasedName="cultureName" />
        <orm:Parameter Name="@UnderlyingIdentifier" Direction="IN" MaxLength="50" Caption="Underlying Identifier" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="UnderlyingIdentifier" CasedName="underlyingIdentifier" />
        <orm:Parameter Name="@Description" Direction="IN" MaxLength="50" Caption="Description" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Description" CasedName="description" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_Culture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@CultureGuid" Direction="IN" MaxLength="0" Caption="Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="CultureGuid" CasedName="cultureGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_Culture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@CultureGuid" Direction="IN" MaxLength="0" Caption="Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="CultureGuid" CasedName="cultureGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@CultureName" Direction="IN" MaxLength="50" Caption="Culture Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureName" CasedName="cultureName" />
        <orm:Parameter Name="@UnderlyingIdentifier" Direction="IN" MaxLength="50" Caption="Underlying Identifier" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="UnderlyingIdentifier" CasedName="underlyingIdentifier" />
        <orm:Parameter Name="@Description" Direction="IN" MaxLength="50" Caption="Description" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Description" CasedName="description" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_Culture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@CultureGuid" Direction="IN" MaxLength="0" Caption="Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="CultureGuid" CasedName="cultureGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_Culture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="14">
        <orm:ChildCollection Name="StringValue" ObjectName="StringValue" PluralName="StringValues" ChildTableName="StringValue" Caption="String Value" UniqueName="StringValue" PluralUniqueName="StringValues" Flag="2" CasedName="stringValue" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="CultureGuid" ChildColumn="CultureGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="CultureGuid" Ordinal="1" ParentColumn="CultureGuid" ParentTable="Culture" ParentObject="Culture" ParentProperty="CultureGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="LocalizedData" ObjectName="LocalizedData" PluralName="LocalizedDatas" ChildTableName="LocalizedData" Caption="Localized Data" UniqueName="LocalizedData" PluralUniqueName="LocalizedDatas" Flag="4" CasedName="localizedData" ChildFlag="2" IsHierarchy="false">
          <orm:ChildKeyField Name="PrimaryKeyGuid" ChildColumn="PrimaryKeyGuid" ChildTable="LocalizedData" ChildObject="LocalizedData" ChildProperty="PrimaryKeyGuid" Ordinal="1" ParentColumn="CultureGuid" ParentTable="Culture" ParentObject="Culture" ParentProperty="CultureGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="CultureGuid" ColumnName="CultureGuid" TableName="Culture" NETType="System.Guid" Caption="Culture Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="CultureGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureId" ColumnName="CultureId" TableName="Culture" NETType="System.String" Caption="Culture Id" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="10" Ordinal="2" OriginalName="CultureId" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureId">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureName" ColumnName="CultureName" TableName="Culture" NETType="System.String" Caption="Culture Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="3" OriginalName="CultureName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="UnderlyingIdentifier" ColumnName="UnderlyingIdentifier" TableName="Culture" NETType="System.String" Caption="Underlying Identifier" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="4" OriginalName="UnderlyingIdentifier" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="underlyingIdentifier">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Description" ColumnName="Description" TableName="Culture" NETType="System.String" Caption="Description" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="5" OriginalName="Description" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="description" IsLocalizedProperty="true">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="Application" OriginalName="Application" SingularName="Application" PluralName="Applications" DisplayName="ApplicationGuid" Caption="Application" PluralCaption="Applications" DeletePriority="0" InsertPriority="0" TableName="Application" CollectionName="Applications" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="Application" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_Application" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
        <orm:Parameter Name="@ApplicationName" Direction="IN" MaxLength="15" Caption="Application Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ApplicationName" CasedName="applicationName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_Application" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_Application" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
        <orm:Parameter Name="@ApplicationName" Direction="IN" MaxLength="15" Caption="Application Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ApplicationName" CasedName="applicationName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_Application" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_Application" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="14">
        <orm:ChildCollection Name="StringValue" ObjectName="StringValue" PluralName="StringValues" ChildTableName="StringValue" Caption="String Value" UniqueName="StringValue" PluralUniqueName="StringValues" Flag="2" CasedName="stringValue" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="ApplicationGuid" ChildColumn="ApplicationGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="ApplicationGuid" Ordinal="1" ParentColumn="ApplicationGuid" ParentTable="Application" ParentObject="Application" ParentProperty="ApplicationGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="ResourceSet" ObjectName="ResourceSet" PluralName="ResourceSets" ChildTableName="ResourceSet" Caption="Resource Set" UniqueName="ResourceSet" PluralUniqueName="ResourceSets" Flag="4" CasedName="resourceSet" ChildFlag="2" IsHierarchy="false">
          <orm:ChildKeyField Name="ApplicationGuid" ChildColumn="ApplicationGuid" ChildTable="ResourceSet" ChildObject="ResourceSet" ChildProperty="ApplicationGuid" Ordinal="1" ParentColumn="ApplicationGuid" ParentTable="Application" ParentObject="Application" ParentProperty="ApplicationGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:FilterCriteria Name="ApplicationName" SPName="Select_Application_By_ApplicationName" Caption="Application Name" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="ApplicationName" TableName="Application" Caption="Application Name" ColumnName="ApplicationName" NETType="System.String" />
      </orm:FilterCriteria>
      <orm:Properties>
        <orm:Property Name="ApplicationGuid" ColumnName="ApplicationGuid" TableName="Application" NETType="System.Guid" Caption="Application Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="ApplicationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="applicationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ApplicationName" ColumnName="ApplicationName" TableName="Application" NETType="System.String" Caption="Application Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="15" Ordinal="2" OriginalName="ApplicationName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="applicationName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="AppModule" OriginalName="AppModule" SingularName="AppModule" PluralName="AppModules" DisplayName="ModuleGuid" Caption="App Module" PluralCaption="App Modules" DeletePriority="0" InsertPriority="0" TableName="AppModule" CollectionName="AppModules" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="AppModule" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_AppModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ModuleGuid" Direction="IN" MaxLength="0" Caption="Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ModuleGuid" CasedName="moduleGuid" />
        <orm:Parameter Name="@ModuleName" Direction="IN" MaxLength="20" Caption="Module Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ModuleName" CasedName="moduleName" />
        <orm:Parameter Name="@Ordinal" Direction="IN" MaxLength="0" Caption="Ordinal" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="Ordinal" CasedName="ordinal" />
        <orm:Parameter Name="@Caption" Direction="IN" MaxLength="50" Caption="Caption" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption" CasedName="caption" />
        <orm:Parameter Name="@CaptionFr" Direction="IN" MaxLength="50" Caption="Caption Fr" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CaptionFr" CasedName="captionFr" />
        <orm:Parameter Name="@CaptionDe" Direction="IN" MaxLength="50" Caption="Caption De" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CaptionDe" CasedName="captionDe" />
        <orm:Parameter Name="@CaptionAr" Direction="IN" MaxLength="50" Caption="Caption Ar" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CaptionAr" CasedName="captionAr" />
        <orm:Parameter Name="@CaptionEs" Direction="IN" MaxLength="50" Caption="Caption Es" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CaptionEs" CasedName="captionEs" />
        <orm:Parameter Name="@Caption1" Direction="IN" MaxLength="20" Caption="Caption 1" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption1" CasedName="caption1" />
        <orm:Parameter Name="@Caption2" Direction="IN" MaxLength="20" Caption="Caption 2" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption2" CasedName="caption2" />
        <orm:Parameter Name="@Caption3" Direction="IN" MaxLength="20" Caption="Caption 3" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption3" CasedName="caption3" />
        <orm:Parameter Name="@Caption4" Direction="IN" MaxLength="50" Caption="Caption 4" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption4" CasedName="caption4" />
        <orm:Parameter Name="@Caption5" Direction="IN" MaxLength="50" Caption="Caption 5" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption5" CasedName="caption5" />
        <orm:Parameter Name="@BaseColorR1" Direction="IN" MaxLength="0" Caption="Base Color R1" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorR1" CasedName="baseColorR1" />
        <orm:Parameter Name="@BaseColorG1" Direction="IN" MaxLength="0" Caption="Base Color G1" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorG1" CasedName="baseColorG1" />
        <orm:Parameter Name="@BaseColorB1" Direction="IN" MaxLength="0" Caption="Base Color B1" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorB1" CasedName="baseColorB1" />
        <orm:Parameter Name="@BaseColorR2" Direction="IN" MaxLength="0" Caption="Base Color R2" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorR2" CasedName="baseColorR2" />
        <orm:Parameter Name="@BaseColorG2" Direction="IN" MaxLength="0" Caption="Base Color G2" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorG2" CasedName="baseColorG2" />
        <orm:Parameter Name="@BaseColorB2" Direction="IN" MaxLength="0" Caption="Base Color B2" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorB2" CasedName="baseColorB2" />
        <orm:Parameter Name="@BaseColorR3" Direction="IN" MaxLength="0" Caption="Base Color R3" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorR3" CasedName="baseColorR3" />
        <orm:Parameter Name="@BaseColorG3" Direction="IN" MaxLength="0" Caption="Base Color G3" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorG3" CasedName="baseColorG3" />
        <orm:Parameter Name="@BaseColorB3" Direction="IN" MaxLength="0" Caption="Base Color B3" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorB3" CasedName="baseColorB3" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_AppModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ModuleGuid" Direction="IN" MaxLength="0" Caption="Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ModuleGuid" CasedName="moduleGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_AppModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ModuleGuid" Direction="IN" MaxLength="0" Caption="Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ModuleGuid" CasedName="moduleGuid" />
        <orm:Parameter Name="@ModuleName" Direction="IN" MaxLength="20" Caption="Module Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ModuleName" CasedName="moduleName" />
        <orm:Parameter Name="@Ordinal" Direction="IN" MaxLength="0" Caption="Ordinal" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="Ordinal" CasedName="ordinal" />
        <orm:Parameter Name="@Caption" Direction="IN" MaxLength="50" Caption="Caption" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption" CasedName="caption" />
        <orm:Parameter Name="@CaptionFr" Direction="IN" MaxLength="50" Caption="Caption Fr" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CaptionFr" CasedName="captionFr" />
        <orm:Parameter Name="@CaptionDe" Direction="IN" MaxLength="50" Caption="Caption De" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CaptionDe" CasedName="captionDe" />
        <orm:Parameter Name="@CaptionAr" Direction="IN" MaxLength="50" Caption="Caption Ar" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CaptionAr" CasedName="captionAr" />
        <orm:Parameter Name="@CaptionEs" Direction="IN" MaxLength="50" Caption="Caption Es" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CaptionEs" CasedName="captionEs" />
        <orm:Parameter Name="@Caption1" Direction="IN" MaxLength="20" Caption="Caption 1" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption1" CasedName="caption1" />
        <orm:Parameter Name="@Caption2" Direction="IN" MaxLength="20" Caption="Caption 2" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption2" CasedName="caption2" />
        <orm:Parameter Name="@Caption3" Direction="IN" MaxLength="20" Caption="Caption 3" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption3" CasedName="caption3" />
        <orm:Parameter Name="@Caption4" Direction="IN" MaxLength="50" Caption="Caption 4" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption4" CasedName="caption4" />
        <orm:Parameter Name="@Caption5" Direction="IN" MaxLength="50" Caption="Caption 5" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption5" CasedName="caption5" />
        <orm:Parameter Name="@BaseColorR1" Direction="IN" MaxLength="0" Caption="Base Color R1" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorR1" CasedName="baseColorR1" />
        <orm:Parameter Name="@BaseColorG1" Direction="IN" MaxLength="0" Caption="Base Color G1" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorG1" CasedName="baseColorG1" />
        <orm:Parameter Name="@BaseColorB1" Direction="IN" MaxLength="0" Caption="Base Color B1" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorB1" CasedName="baseColorB1" />
        <orm:Parameter Name="@BaseColorR2" Direction="IN" MaxLength="0" Caption="Base Color R2" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorR2" CasedName="baseColorR2" />
        <orm:Parameter Name="@BaseColorG2" Direction="IN" MaxLength="0" Caption="Base Color G2" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorG2" CasedName="baseColorG2" />
        <orm:Parameter Name="@BaseColorB2" Direction="IN" MaxLength="0" Caption="Base Color B2" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorB2" CasedName="baseColorB2" />
        <orm:Parameter Name="@BaseColorR3" Direction="IN" MaxLength="0" Caption="Base Color R3" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorR3" CasedName="baseColorR3" />
        <orm:Parameter Name="@BaseColorG3" Direction="IN" MaxLength="0" Caption="Base Color G3" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorG3" CasedName="baseColorG3" />
        <orm:Parameter Name="@BaseColorB3" Direction="IN" MaxLength="0" Caption="Base Color B3" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="BaseColorB3" CasedName="baseColorB3" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_AppModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ModuleGuid" Direction="IN" MaxLength="0" Caption="Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ModuleGuid" CasedName="moduleGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_AppModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Role" UniqueName="Role">
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="RoleModule" ChildObject="AppModule" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="Role" ParentObject="Role" ParentProperty="RoleGuid" />
          <orm:ForeignKey ChildColumn="ModuleGuid" ChildTable="AppModule" ChildObject="AppModule" ChildProperty="ModuleGuid" ParentColumn="ModuleGuid" ParentTable="RoleModule" ParentObject="RoleModule" ParentProperty="ModuleGuid" />
          <orm:Properties>
            <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="RoleModule" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="User" UniqueName="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="AppModule" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="RoleModule" ChildObject="AppModule" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
          <orm:ForeignKey ChildColumn="ModuleGuid" ChildTable="AppModule" ChildObject="AppModule" ChildProperty="ModuleGuid" ParentColumn="ModuleGuid" ParentTable="RoleModule" ParentObject="RoleModule" ParentProperty="ModuleGuid" />
          <orm:Properties>
            <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="RoleUser" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
            <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="RoleModule" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="14">
        <orm:ChildCollection Name="MenuStructure" ObjectName="MenuStructure" PluralName="MenuStructures" ChildTableName="MenuStructure" Caption="Menu Structure" UniqueName="MenuStructure" PluralUniqueName="MenuStructures" Flag="2" CasedName="menuStructure" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="ModuleGuid" ChildColumn="ModuleGuid" ChildTable="MenuStructure" ChildObject="MenuStructure" ChildProperty="ModuleGuid" Ordinal="1" ParentColumn="ModuleGuid" ParentTable="AppModule" ParentObject="AppModule" ParentProperty="ModuleGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="LocalizedData" ObjectName="LocalizedData" PluralName="LocalizedDatas" ChildTableName="LocalizedData" Caption="Localized Data" UniqueName="LocalizedData" PluralUniqueName="LocalizedDatas" Flag="4" CasedName="localizedData" ChildFlag="2" IsHierarchy="false">
          <orm:ChildKeyField Name="PrimaryKeyGuid" ChildColumn="PrimaryKeyGuid" ChildTable="LocalizedData" ChildObject="LocalizedData" ChildProperty="PrimaryKeyGuid" Ordinal="1" ParentColumn="ModuleGuid" ParentTable="AppModule" ParentObject="AppModule" ParentProperty="ModuleGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:FilterCriteria Name="ModuleName" SPName="Select_AppModule_By_ModuleName" Caption="Module Name" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="ModuleName" TableName="AppModule" Caption="Module Name" ColumnName="ModuleName" NETType="System.String" />
      </orm:FilterCriteria>
      <orm:Properties>
        <orm:Property Name="ModuleGuid" ColumnName="ModuleGuid" TableName="AppModule" NETType="System.Guid" Caption="Module Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="ModuleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="2" Default="" DefaultVB="" DefaultCSharp="" CasedName="moduleGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ModuleName" ColumnName="ModuleName" TableName="AppModule" NETType="System.String" Caption="Module Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="20" Ordinal="2" OriginalName="ModuleName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="moduleName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Ordinal" ColumnName="Ordinal" TableName="AppModule" NETType="System.Int32" Caption="Ordinal" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="false" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="Ordinal" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="ordinal">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Caption" ColumnName="Caption" TableName="AppModule" NETType="System.String" Caption="Caption" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="4" OriginalName="Caption" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="caption" IsLocalizedProperty="true">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CaptionFr" ColumnName="CaptionFr" TableName="AppModule" NETType="System.String" Caption="Caption Fr" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="5" OriginalName="CaptionFr" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="captionFr">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CaptionDe" ColumnName="CaptionDe" TableName="AppModule" NETType="System.String" Caption="Caption De" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="6" OriginalName="CaptionDe" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="captionDe">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CaptionAr" ColumnName="CaptionAr" TableName="AppModule" NETType="System.String" Caption="Caption Ar" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="7" OriginalName="CaptionAr" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="captionAr">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CaptionEs" ColumnName="CaptionEs" TableName="AppModule" NETType="System.String" Caption="Caption Es" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="8" OriginalName="CaptionEs" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="captionEs">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Caption1" ColumnName="Caption1" TableName="AppModule" NETType="System.String" Caption="Caption 1" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="20" Ordinal="9" OriginalName="Caption1" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="caption1">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Caption2" ColumnName="Caption2" TableName="AppModule" NETType="System.String" Caption="Caption 2" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="20" Ordinal="10" OriginalName="Caption2" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="caption2">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Caption3" ColumnName="Caption3" TableName="AppModule" NETType="System.String" Caption="Caption 3" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="20" Ordinal="11" OriginalName="Caption3" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="caption3">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Caption4" ColumnName="Caption4" TableName="AppModule" NETType="System.String" Caption="Caption 4" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="12" OriginalName="Caption4" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="caption4">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Caption5" ColumnName="Caption5" TableName="AppModule" NETType="System.String" Caption="Caption 5" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="13" OriginalName="Caption5" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="caption5">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="BaseColorR1" ColumnName="BaseColorR1" TableName="AppModule" NETType="System.Int32" Caption="Base Color R1" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="false" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="14" OriginalName="BaseColorR1" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="baseColorR1">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="BaseColorG1" ColumnName="BaseColorG1" TableName="AppModule" NETType="System.Int32" Caption="Base Color G1" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="false" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="15" OriginalName="BaseColorG1" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="baseColorG1">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="BaseColorB1" ColumnName="BaseColorB1" TableName="AppModule" NETType="System.Int32" Caption="Base Color B1" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="false" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="16" OriginalName="BaseColorB1" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="baseColorB1">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="BaseColorR2" ColumnName="BaseColorR2" TableName="AppModule" NETType="System.Int32" Caption="Base Color R2" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="true" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="17" OriginalName="BaseColorR2" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="baseColorR2">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="BaseColorG2" ColumnName="BaseColorG2" TableName="AppModule" NETType="System.Int32" Caption="Base Color G2" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="true" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="18" OriginalName="BaseColorG2" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="baseColorG2">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="BaseColorB2" ColumnName="BaseColorB2" TableName="AppModule" NETType="System.Int32" Caption="Base Color B2" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="true" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="19" OriginalName="BaseColorB2" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="baseColorB2">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="BaseColorR3" ColumnName="BaseColorR3" TableName="AppModule" NETType="System.Int32" Caption="Base Color R3" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="true" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="20" OriginalName="BaseColorR3" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="baseColorR3">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="BaseColorG3" ColumnName="BaseColorG3" TableName="AppModule" NETType="System.Int32" Caption="Base Color G3" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="true" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="21" OriginalName="BaseColorG3" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="baseColorG3">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="BaseColorB3" ColumnName="BaseColorB3" TableName="AppModule" NETType="System.Int32" Caption="Base Color B3" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="true" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="22" OriginalName="BaseColorB3" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="baseColorB3">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="&lt;All&gt;" Rights="R" />
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="ResourceGeneration" OriginalName="ResourceSet" SingularName="ResourceGeneration" PluralName="ResourceGenerations" DisplayName="ResourceSetGuid" Caption="Resource Generation" PluralCaption="Resource Generations" DeletePriority="0" InsertPriority="1" TableName="ResourceSet" CollectionName="ResourceGenerations" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="ResourceGeneration" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_ResourceGeneration" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
        <orm:Parameter Name="@ResourceSetName" Direction="IN" MaxLength="200" Caption="Resource Set Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceSetName" CasedName="resourceSetName" />
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_ResourceGeneration" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_ResourceGeneration" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
        <orm:Parameter Name="@ResourceSetName" Direction="IN" MaxLength="200" Caption="Resource Set Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceSetName" CasedName="resourceSetName" />
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_ResourceGeneration" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_ResourceGeneration" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Application" UniqueName="Application">
          <orm:ForeignKey ChildColumn="ApplicationGuid" ChildTable="ResourceSet" ChildObject="ResourceGeneration" ChildProperty="ApplicationGuid" ParentColumn="ApplicationGuid" ParentTable="ResourceSet" ParentObject="ResourceSet" ParentProperty="ApplicationGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="6">
        <orm:ChildCollection Name="ResourceGenerationLocation" ObjectName="ResourceGenerationLocation" PluralName="ResourceGenerationLocations" ChildTableName="StringLocation" Caption="Resource Generation Location" UniqueName="ResourceGenerationLocation" PluralUniqueName="ResourceGenerationLocations" Flag="2" CasedName="resourceGenerationLocation" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="ResourceSetGuid" ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="ResourceSetGuid" Ordinal="1" ParentColumn="ResourceSetGuid" ParentTable="ResourceSet" ParentObject="ResourceGeneration" ParentProperty="ResourceSetGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="ResourceSetGuid" ColumnName="ResourceSetGuid" TableName="ResourceSet" NETType="System.Guid" Caption="Resource Set Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="ResourceSetGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceSetGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceSetName" ColumnName="ResourceSetName" TableName="ResourceSet" NETType="System.String" Caption="Resource Set Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="200" Ordinal="2" OriginalName="ResourceSetName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceSetName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ApplicationGuid" ColumnName="ApplicationGuid" TableName="ResourceSet" NETType="System.Guid" Caption="Application Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="ApplicationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="applicationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="ResourceGenerationLocation" OriginalName="StringLocation" SingularName="ResourceGenerationLocation" PluralName="ResourceGenerationLocations" DisplayName="StringLocationGuid" Caption="Resource Generation Location" PluralCaption="Resource Generation Locations" DeletePriority="0" InsertPriority="2" TableName="StringLocation" CollectionName="ResourceGenerationLocations" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="ResourceGenerationLocation" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_ResourceGenerationLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLocationGuid" Direction="IN" MaxLength="0" Caption="String Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLocationGuid" CasedName="stringLocationGuid" />
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
        <orm:Parameter Name="@ResourceName" Direction="IN" MaxLength="200" Caption="Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceName" CasedName="resourceName" />
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@StringCategoryGuid" Direction="IN" MaxLength="0" Caption="String Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringCategoryGuid" CasedName="stringCategoryGuid" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_ResourceGenerationLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLocationGuid" Direction="IN" MaxLength="0" Caption="String Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLocationGuid" CasedName="stringLocationGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_ResourceGenerationLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLocationGuid" Direction="IN" MaxLength="0" Caption="String Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLocationGuid" CasedName="stringLocationGuid" />
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
        <orm:Parameter Name="@ResourceName" Direction="IN" MaxLength="200" Caption="Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceName" CasedName="resourceName" />
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@StringCategoryGuid" Direction="IN" MaxLength="0" Caption="String Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringCategoryGuid" CasedName="stringCategoryGuid" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_ResourceGenerationLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLocationGuid" Direction="IN" MaxLength="0" Caption="String Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLocationGuid" CasedName="stringLocationGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_ResourceGenerationLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="StringCategory" UniqueName="StringCategory">
          <orm:ForeignKey ChildColumn="StringCategoryGuid" ChildTable="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="StringCategoryGuid" ParentColumn="StringCategoryGuid" ParentTable="StringLocation" ParentObject="StringLocation" ParentProperty="StringCategoryGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="ResourceSet" UniqueName="ResourceSet">
          <orm:ForeignKey ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="ResourceSetGuid" ParentColumn="ResourceSetGuid" ParentTable="StringLocation" ParentObject="StringLocation" ParentProperty="ResourceSetGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="StringLogicalLocation" UniqueName="StringLogicalLocation">
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLocation" ParentObject="StringLocation" ParentProperty="StringLogicalLocationGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="ResourceGeneration" UniqueName="ResourceGeneration">
          <orm:ForeignKey ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="ResourceSetGuid" ParentColumn="ResourceSetGuid" ParentTable="ResourceSet" ParentObject="ResourceGeneration" ParentProperty="ResourceSetGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="6">
        <orm:ChildCollection Name="StringValue" ObjectName="StringValue" PluralName="StringValues" ChildTableName="StringValue" Caption="String Value" UniqueName="StringValue" PluralUniqueName="StringValues" Flag="2" CasedName="stringValue" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="StringLogicalLocationGuid" ChildColumn="StringLogicalLocationGuid" ChildTable="StringLogicalLocation" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" Ordinal="1" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLocation" ParentObject="ResourceGenerationLocation" ParentProperty="StringLogicalLocationGuid" />
          <orm:ChildKeyField Name="StringLogicalLocationGuid" ChildColumn="StringLogicalLocationGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" Ordinal="2" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="StringLocationGuid" ColumnName="StringLocationGuid" TableName="StringLocation" NETType="System.Guid" Caption="String Location Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="StringLocationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLocationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceSetGuid" ColumnName="ResourceSetGuid" TableName="StringLocation" NETType="System.Guid" Caption="Resource Set Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="ResourceSetGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="2" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceSetGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceName" ColumnName="ResourceName" TableName="StringLocation" NETType="System.String" Caption="Resource Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="200" Ordinal="3" OriginalName="ResourceName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="StringLogicalLocationGuid" ColumnName="StringLogicalLocationGuid" TableName="StringLocation" NETType="System.Guid" Caption="String Logical Location Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="4" OriginalName="StringLogicalLocationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLogicalLocationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="StringCategoryGuid" ColumnName="StringCategoryGuid" TableName="StringLocation" NETType="System.Guid" Caption="String Category Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="5" OriginalName="StringCategoryGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringCategoryGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="StringLogicalLocationName" ColumnName="StringLogicalLocationName" TableName="StringLogicalLocation" NETType="System.String" Caption="String Logical Location Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" MaxLength="50" Ordinal="7" OriginalName="StringLogicalLocationName" SQLType="varchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLogicalLocationName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceSetName" ColumnName="ResourceSetName" TableName="ResourceSet" NETType="System.String" Caption="Resource Set Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" MaxLength="200" Ordinal="9" OriginalName="ResourceSetName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceSetName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ApplicationGuid" ColumnName="ApplicationGuid" TableName="ResourceSet" NETType="System.Guid" Caption="Application Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="10" OriginalName="ApplicationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="applicationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="ResourceSet" OriginalName="ResourceSet" SingularName="ResourceSet" PluralName="ResourceSets" DisplayName="ResourceSetGuid" Caption="Resource Set" PluralCaption="Resource Sets" DeletePriority="0" InsertPriority="1" TableName="ResourceSet" CollectionName="ResourceSets" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="ResourceSet" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_ResourceSet" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
        <orm:Parameter Name="@ResourceSetName" Direction="IN" MaxLength="200" Caption="Resource Set Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceSetName" CasedName="resourceSetName" />
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_ResourceSet" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_ResourceSet" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
        <orm:Parameter Name="@ResourceSetName" Direction="IN" MaxLength="200" Caption="Resource Set Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceSetName" CasedName="resourceSetName" />
        <orm:Parameter Name="@ApplicationGuid" Direction="IN" MaxLength="0" Caption="Application Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ApplicationGuid" CasedName="applicationGuid" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_ResourceSet" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_ResourceSet" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Application" UniqueName="Application">
          <orm:ForeignKey ChildColumn="ApplicationGuid" ChildTable="ResourceSet" ChildObject="ResourceSet" ChildProperty="ApplicationGuid" ParentColumn="ApplicationGuid" ParentTable="Application" ParentObject="Application" ParentProperty="ApplicationGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="6">
        <orm:ChildCollection Name="StringLocation" ObjectName="StringLocation" PluralName="StringLocations" ChildTableName="StringLocation" Caption="String Location" UniqueName="StringLocation" PluralUniqueName="StringLocations" Flag="2" CasedName="stringLocation" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="ResourceSetGuid" ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildObject="StringLocation" ChildProperty="ResourceSetGuid" Ordinal="1" ParentColumn="ResourceSetGuid" ParentTable="ResourceSet" ParentObject="ResourceSet" ParentProperty="ResourceSetGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:FilterCriteria Name="ResourceSetName" SPName="Select_ResourceSet_By_ResourceSetName" Caption="Resource Set Name" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="ResourceSetName" TableName="ResourceSet" Caption="Resource Set Name" ColumnName="ResourceSetName" NETType="System.String" />
      </orm:FilterCriteria>
      <orm:Properties>
        <orm:Property Name="ResourceSetGuid" ColumnName="ResourceSetGuid" TableName="ResourceSet" NETType="System.Guid" Caption="Resource Set Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="ResourceSetGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceSetGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceSetName" ColumnName="ResourceSetName" TableName="ResourceSet" NETType="System.String" Caption="Resource Set Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="200" Ordinal="2" OriginalName="ResourceSetName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceSetName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ApplicationGuid" ColumnName="ApplicationGuid" TableName="ResourceSet" NETType="System.Guid" Caption="Application Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="ApplicationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="applicationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="StringCandidateLocation" OriginalName="StringLogicalLocation" SingularName="StringCandidateLocation" PluralName="StringCandidateLocations" DisplayName="StringLogicalLocationGuid" Caption="String Candidate Location" PluralCaption="String Candidate Locations" DeletePriority="0" InsertPriority="0" TableName="StringLogicalLocation" CollectionName="StringCandidateLocations" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="StringCandidateLocation" IsLookup="false" NoChildren="true" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_StringCandidateLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@StringLogicalLocationName" Direction="IN" MaxLength="50" Caption="String Logical Location Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="StringLogicalLocationName" CasedName="stringLogicalLocationName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_StringCandidateLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_StringCandidateLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@StringLogicalLocationName" Direction="IN" MaxLength="50" Caption="String Logical Location Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="StringLogicalLocationName" CasedName="stringLogicalLocationName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_StringCandidateLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_StringCandidateLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="StringLogicalLocationGuid" ColumnName="StringLogicalLocationGuid" TableName="StringLogicalLocation" NETType="System.Guid" Caption="String Logical Location Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="StringLogicalLocationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLogicalLocationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="StringLogicalLocationName" ColumnName="StringLogicalLocationName" TableName="StringLogicalLocation" NETType="System.String" Caption="String Logical Location Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="StringLogicalLocationName" SQLType="varchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLogicalLocationName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureName" ColumnName="CultureName" TableName="Culture" NETType="System.String" Caption="Culture Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="3" OriginalName="CultureName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="StringValueGuid" ColumnName="StringValueGuid" TableName="StringValue" NETType="System.Guid" Caption="String Value Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="4" OriginalName="StringValueGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringValueGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OriginalString" ColumnName="OriginalString" TableName="StringValue" NETType="System.String" Caption="Original String" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="500" Ordinal="5" OriginalName="OriginalString" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="originalString">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="StringLocation" OriginalName="StringLocation" SingularName="StringLocation" PluralName="StringLocations" DisplayName="StringLocationGuid" Caption="String Location" PluralCaption="String Locations" DeletePriority="0" InsertPriority="2" TableName="StringLocation" CollectionName="StringLocations" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="StringLocation" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_StringLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLocationGuid" Direction="IN" MaxLength="0" Caption="String Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLocationGuid" CasedName="stringLocationGuid" />
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
        <orm:Parameter Name="@ResourceName" Direction="IN" MaxLength="200" Caption="Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceName" CasedName="resourceName" />
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@StringCategoryGuid" Direction="IN" MaxLength="0" Caption="String Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringCategoryGuid" CasedName="stringCategoryGuid" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_StringLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLocationGuid" Direction="IN" MaxLength="0" Caption="String Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLocationGuid" CasedName="stringLocationGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_StringLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLocationGuid" Direction="IN" MaxLength="0" Caption="String Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLocationGuid" CasedName="stringLocationGuid" />
        <orm:Parameter Name="@ResourceSetGuid" Direction="IN" MaxLength="0" Caption="Resource Set Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ResourceSetGuid" CasedName="resourceSetGuid" />
        <orm:Parameter Name="@ResourceName" Direction="IN" MaxLength="200" Caption="Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceName" CasedName="resourceName" />
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@StringCategoryGuid" Direction="IN" MaxLength="0" Caption="String Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringCategoryGuid" CasedName="stringCategoryGuid" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_StringLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLocationGuid" Direction="IN" MaxLength="0" Caption="String Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLocationGuid" CasedName="stringLocationGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_StringLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="StringCategory" UniqueName="StringCategory">
          <orm:ForeignKey ChildColumn="StringCategoryGuid" ChildTable="StringLocation" ChildObject="StringLocation" ChildProperty="StringCategoryGuid" ParentColumn="StringCategoryGuid" ParentTable="StringCategory" ParentObject="StringCategory" ParentProperty="StringCategoryGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="ResourceSet" UniqueName="ResourceSet">
          <orm:ForeignKey ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildObject="StringLocation" ChildProperty="ResourceSetGuid" ParentColumn="ResourceSetGuid" ParentTable="ResourceSet" ParentObject="ResourceSet" ParentProperty="ResourceSetGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="StringLogicalLocation" UniqueName="StringLogicalLocation">
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringLocation" ChildObject="StringLocation" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="StringLocationGuid" ColumnName="StringLocationGuid" TableName="StringLocation" NETType="System.Guid" Caption="String Location Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="StringLocationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLocationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceSetGuid" ColumnName="ResourceSetGuid" TableName="StringLocation" NETType="System.Guid" Caption="Resource Set Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="ResourceSetGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceSetGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceName" ColumnName="ResourceName" TableName="StringLocation" NETType="System.String" Caption="Resource Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="200" Ordinal="3" OriginalName="ResourceName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="StringLogicalLocationGuid" ColumnName="StringLogicalLocationGuid" TableName="StringLocation" NETType="System.Guid" Caption="String Logical Location Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="4" OriginalName="StringLogicalLocationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLogicalLocationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="StringCategoryGuid" ColumnName="StringCategoryGuid" TableName="StringLocation" NETType="System.Guid" Caption="String Category Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="5" OriginalName="StringCategoryGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringCategoryGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceSetName" ColumnName="ResourceSetName" TableName="ResourceSet" NETType="System.String" Caption="Resource Set Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" MaxLength="200" Ordinal="7" OriginalName="ResourceSetName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceSetName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ApplicationGuid" ColumnName="ApplicationGuid" TableName="ResourceSet" NETType="System.Guid" Caption="Application Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="8" OriginalName="ApplicationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="applicationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="StringLogicalLocation" OriginalName="StringLogicalLocation" SingularName="StringLogicalLocation" PluralName="StringLogicalLocations" DisplayName="StringLogicalLocationGuid" Caption="String Logical Location" PluralCaption="String Logical Locations" DeletePriority="0" InsertPriority="0" TableName="StringLogicalLocation" CollectionName="StringLogicalLocations" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="StringLogicalLocation" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_StringLogicalLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@StringLogicalLocationName" Direction="IN" MaxLength="50" Caption="String Logical Location Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="StringLogicalLocationName" CasedName="stringLogicalLocationName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_StringLogicalLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_StringLogicalLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
        <orm:Parameter Name="@StringLogicalLocationName" Direction="IN" MaxLength="50" Caption="String Logical Location Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="StringLogicalLocationName" CasedName="stringLogicalLocationName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_StringLogicalLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringLogicalLocationGuid" Direction="IN" MaxLength="0" Caption="String Logical Location Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringLogicalLocationGuid" CasedName="stringLogicalLocationGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_StringLogicalLocation" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="14">
        <orm:ChildCollection Name="StringValue" ObjectName="StringValue" PluralName="StringValues" ChildTableName="StringValue" Caption="String Value" UniqueName="StringValue" PluralUniqueName="StringValues" Flag="2" CasedName="stringValue" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="StringLogicalLocationGuid" ChildColumn="StringLogicalLocationGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" Ordinal="1" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="StringLocation" ObjectName="StringLocation" PluralName="StringLocations" ChildTableName="StringLocation" Caption="String Location" UniqueName="StringLocation" PluralUniqueName="StringLocations" Flag="4" CasedName="stringLocation" ChildFlag="2" IsHierarchy="false">
          <orm:ChildKeyField Name="StringLogicalLocationGuid" ChildColumn="StringLogicalLocationGuid" ChildTable="StringLocation" ChildObject="StringLocation" ChildProperty="StringLogicalLocationGuid" Ordinal="1" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:FilterCriteria Name="StringLogicalLocationName" SPName="Select_StringLogicalLocation_By_StringLogicalLocationName" Caption="String Logical Location Name" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="StringLogicalLocationName" TableName="StringLogicalLocation" Caption="String Logical Location Name" ColumnName="StringLogicalLocationName" NETType="System.String" />
      </orm:FilterCriteria>
      <orm:Properties>
        <orm:Property Name="StringLogicalLocationGuid" ColumnName="StringLogicalLocationGuid" TableName="StringLogicalLocation" NETType="System.Guid" Caption="String Logical Location Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="StringLogicalLocationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLogicalLocationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="StringLogicalLocationName" ColumnName="StringLogicalLocationName" TableName="StringLogicalLocation" NETType="System.String" Caption="String Logical Location Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="StringLogicalLocationName" SQLType="varchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringLogicalLocationName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="StringResource" OriginalName="StringResource" SingularName="StringResource" PluralName="StringResources" DisplayName="StringResourceGuid" Caption="String Resource" PluralCaption="String Resources" DeletePriority="0" InsertPriority="0" TableName="StringResource" CollectionName="StringResources" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="StringResource" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_StringResource" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringResourceGuid" Direction="IN" MaxLength="0" Caption="String Resource Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringResourceGuid" CasedName="stringResourceGuid" />
        <orm:Parameter Name="@ResourceName" Direction="IN" MaxLength="100" Caption="Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceName" CasedName="resourceName" />
        <orm:Parameter Name="@ResourceSetName" Direction="IN" MaxLength="50" Caption="Resource Set Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceSetName" CasedName="resourceSetName" />
        <orm:Parameter Name="@ResourceValue" Direction="IN" MaxLength="500" Caption="Resource Value" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceValue" CasedName="resourceValue" />
        <orm:Parameter Name="@Culture" Direction="IN" MaxLength="10" Caption="Culture" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Culture" CasedName="culture" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_StringResource" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringResourceGuid" Direction="IN" MaxLength="0" Caption="String Resource Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringResourceGuid" CasedName="stringResourceGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_StringResource" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringResourceGuid" Direction="IN" MaxLength="0" Caption="String Resource Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringResourceGuid" CasedName="stringResourceGuid" />
        <orm:Parameter Name="@ResourceName" Direction="IN" MaxLength="100" Caption="Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceName" CasedName="resourceName" />
        <orm:Parameter Name="@ResourceSetName" Direction="IN" MaxLength="50" Caption="Resource Set Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceSetName" CasedName="resourceSetName" />
        <orm:Parameter Name="@ResourceValue" Direction="IN" MaxLength="500" Caption="Resource Value" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceValue" CasedName="resourceValue" />
        <orm:Parameter Name="@Culture" Direction="IN" MaxLength="10" Caption="Culture" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Culture" CasedName="culture" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_StringResource" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringResourceGuid" Direction="IN" MaxLength="0" Caption="String Resource Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringResourceGuid" CasedName="stringResourceGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_StringResource" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="2" />
      <orm:FilterCriteria Name="ResourceName" SPName="Select_StringResource_By_ResourceName" Caption="Resource Name" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="ResourceSetName" TableName="StringResource" Caption="Resource Set Name" ColumnName="ResourceSetName" NETType="System.String" />
        <orm:FilterCriterion Name="ResourceName" TableName="StringResource" Caption="Resource Name" ColumnName="ResourceName" NETType="System.String" />
        <orm:FilterCriterion Name="Culture" TableName="StringResource" Caption="Culture" ColumnName="Culture" NETType="System.String" />
      </orm:FilterCriteria>
      <orm:SetFilterCriteria Name="NameAndCulture" SPName="SelectAll_StringResource_By_NameAndCulture" Caption="" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="ResourceSetName" TableName="StringResource" Caption="Resource Set Name" ColumnName="ResourceSetName" NETType="System.String" />
        <orm:FilterCriterion Name="Culture" TableName="StringResource" Caption="Culture" ColumnName="Culture" NETType="System.String" />
      </orm:SetFilterCriteria>
      <orm:Properties>
        <orm:Property Name="StringResourceGuid" ColumnName="StringResourceGuid" TableName="StringResource" NETType="System.Guid" Caption="String Resource Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="StringResourceGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringResourceGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceName" ColumnName="ResourceName" TableName="StringResource" NETType="System.String" Caption="Resource Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="100" Ordinal="2" OriginalName="ResourceName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceSetName" ColumnName="ResourceSetName" TableName="StringResource" NETType="System.String" Caption="Resource Set Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="3" OriginalName="ResourceSetName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceSetName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceValue" ColumnName="ResourceValue" TableName="StringResource" NETType="System.String" Caption="Resource Value" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="500" Ordinal="4" OriginalName="ResourceValue" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceValue">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Culture" ColumnName="Culture" TableName="StringResource" NETType="System.String" Caption="Culture" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="10" Ordinal="5" OriginalName="Culture" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="culture">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="Organization" OriginalName="Organization" SingularName="Organization" PluralName="Organizations" DisplayName="OrganizationGuid" Caption="Organization" PluralCaption="Organizations" DeletePriority="0" InsertPriority="1" TableName="Organization" CollectionName="Organizations" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="Organization" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" HasSelfJoin="true" IsMultiParentChild="false" kd:AllowListAll="true" test2="Test2 value" test3="Test3 value" test4="Test4 value">
      <orm:CreateSP Name="Insert_Organization" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
        <orm:Parameter Name="@OrganizationSubtreeGuid" Direction="IN" MaxLength="0" Caption="Organization Subtree Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationSubtreeGuid" CasedName="organizationSubtreeGuid" />
        <orm:Parameter Name="@ParentOrganizationGuid" Direction="IN" MaxLength="0" Caption="Parent Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ParentOrganizationGuid" CasedName="parentOrganizationGuid" />
        <orm:Parameter Name="@OrganizationShortName" Direction="IN" MaxLength="30" Caption="Organization Short Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OrganizationShortName" CasedName="organizationShortName" />
        <orm:Parameter Name="@OrganizationName" Direction="IN" MaxLength="150" Caption="Organization Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OrganizationName" CasedName="organizationName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_Organization" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_Organization" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
        <orm:Parameter Name="@OrganizationSubtreeGuid" Direction="IN" MaxLength="0" Caption="Organization Subtree Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationSubtreeGuid" CasedName="organizationSubtreeGuid" />
        <orm:Parameter Name="@ParentOrganizationGuid" Direction="IN" MaxLength="0" Caption="Parent Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ParentOrganizationGuid" CasedName="parentOrganizationGuid" />
        <orm:Parameter Name="@OrganizationShortName" Direction="IN" MaxLength="30" Caption="Organization Short Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OrganizationShortName" CasedName="organizationShortName" />
        <orm:Parameter Name="@OrganizationName" Direction="IN" MaxLength="150" Caption="Organization Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OrganizationName" CasedName="organizationName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_Organization" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_Organization" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="OrganizationSubtree" UniqueName="OrganizationSubtree">
          <orm:ForeignKey ChildColumn="OrganizationSubtreeGuid" ChildTable="Organization" ChildObject="Organization" ChildProperty="OrganizationSubtreeGuid" ParentColumn="OrganizationSubtreeGuid" ParentTable="OrganizationSubtree" ParentObject="OrganizationSubtree" ParentProperty="OrganizationSubtreeGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Organization" UniqueName="Organization">
          <orm:ForeignKey ChildColumn="ParentOrganizationGuid" ChildTable="Organization" ChildObject="Organization" ChildProperty="ParentOrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="User" UniqueName="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="Organization" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="Role" ChildObject="Organization" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
          <orm:ForeignKey ChildColumn="OrganizationGuid" ChildTable="Organization" ChildObject="Organization" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Role" ParentObject="Role" ParentProperty="OrganizationGuid" />
          <orm:Properties>
            <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="RoleUser" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
            <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="Role" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="true" Ordinal="-1" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="62">
        <orm:ChildCollection Name="Role" ObjectName="Role" PluralName="Roles" ChildTableName="Role" Caption="Role" UniqueName="Role" PluralUniqueName="Roles" Flag="2" CasedName="role" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="OrganizationGuid" ChildColumn="OrganizationGuid" ChildTable="Role" ChildObject="Role" ChildProperty="OrganizationGuid" Ordinal="1" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="Organization" ObjectName="Organization" PluralName="Organizations" ChildTableName="Organization" Caption="Organization" UniqueName="Organization" PluralUniqueName="Organizations" Flag="4" CasedName="organization" ChildFlag="2" IsHierarchy="false">
          <orm:ChildKeyField Name="ParentOrganizationGuid" ChildColumn="ParentOrganizationGuid" ChildTable="Organization" ChildObject="Organization" ChildProperty="ParentOrganizationGuid" Ordinal="1" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="OrganizationAccess" ObjectName="OrganizationAccess" PluralName="OrganizationAccesses" ChildTableName="OrganizationAccess" Caption="Organization Access" UniqueName="OrganizationAccess" PluralUniqueName="OrganizationAccesses" Flag="8" CasedName="organizationAccess" ChildFlag="4" IsHierarchy="false">
          <orm:ChildKeyField Name="OrganizationGuid" ChildColumn="OrganizationGuid" ChildTable="OrganizationAccess" ChildObject="OrganizationAccess" ChildProperty="OrganizationGuid" Ordinal="1" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="OrganizationCulture" ObjectName="OrganizationCulture" PluralName="OrganizationCultures" ChildTableName="OrganizationCulture" Caption="Organization Culture" UniqueName="OrganizationCulture" PluralUniqueName="OrganizationCultures" Flag="16" CasedName="organizationCulture" ChildFlag="8" IsHierarchy="false">
          <orm:ChildKeyField Name="OrganizationGuid" ChildColumn="OrganizationGuid" ChildTable="OrganizationCulture" ChildObject="OrganizationCulture" ChildProperty="OrganizationGuid" Ordinal="1" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:FilterCriteria Name="OrganizationName" SPName="Select_Organization_By_OrganizationName" Caption="Organization Name" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="OrganizationName" TableName="Organization" Caption="Organization Name" ColumnName="OrganizationName" NETType="System.String" />
      </orm:FilterCriteria>
      <orm:SetFilterCriteria Name="OrganizationName" SPName="SelectAll_Organization_By_OrganizationName" Caption="" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="OrganizationName" TableName="Organization" Caption="Organization Name" ColumnName="OrganizationName" NETType="System.String" />
      </orm:SetFilterCriteria>
      <orm:Properties>
        <orm:Property Name="OrganizationGuid" ColumnName="OrganizationGuid" TableName="Organization" NETType="System.Guid" Caption="Organization Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="OrganizationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="2" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationSubtreeGuid" ColumnName="OrganizationSubtreeGuid" TableName="Organization" NETType="System.Guid" Caption="Organization Subtree Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="OrganizationSubtreeGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationSubtreeGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ParentOrganizationGuid" ColumnName="ParentOrganizationGuid" TableName="Organization" NETType="System.Guid" Caption="Parent Organization Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="ParentOrganizationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="parentOrganizationGuid" test5="Test5 value" test6="Test6 value" test7="Test7 value">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationShortName" ColumnName="OrganizationShortName" TableName="Organization" NETType="System.String" Caption="Organization Short Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="30" Ordinal="4" OriginalName="OrganizationShortName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationShortName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationName" ColumnName="OrganizationName" TableName="Organization" NETType="System.String" Caption="Organization Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="150" Ordinal="5" OriginalName="OrganizationName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="Role" OriginalName="Role" SingularName="Role" PluralName="Roles" DisplayName="RoleGuid" Caption="Role" PluralCaption="Roles" DeletePriority="0" InsertPriority="2" TableName="Role" CollectionName="Roles" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="Role" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false" kd:AllowAll="true">
      <orm:CreateSP Name="Insert_Role" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
        <orm:Parameter Name="@RoleName" Direction="IN" MaxLength="50" Caption="Role Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="RoleName" CasedName="roleName" />
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_Role" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_Role" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
        <orm:Parameter Name="@RoleName" Direction="IN" MaxLength="50" Caption="Role Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="RoleName" CasedName="roleName" />
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_Role" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_Role" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Organization" UniqueName="Organization">
          <orm:ForeignKey ChildColumn="OrganizationGuid" ChildTable="Role" ChildObject="Role" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="User" UniqueName="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="Role" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="Role" ChildObject="Role" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
          <orm:Properties>
            <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="RoleUser" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="14">
        <orm:ChildCollection Name="User" ObjectName="User" PluralName="Users" ChildTableName="User" Caption="User" UniqueName="User" PluralUniqueName="Users" Flag="2" CasedName="user" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="RoleGuid" ChildColumn="RoleGuid" ChildTable="RoleUser" ChildObject="User" ChildProperty="RoleGuid" Ordinal="1" ParentColumn="RoleGuid" ParentTable="Role" ParentObject="Role" ParentProperty="RoleGuid" />
          <orm:ChildKeyField Name="UserGuid" ChildColumn="UserGuid" ChildTable="User" ChildObject="User" ChildProperty="UserGuid" Ordinal="2" ParentColumn="UserGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="UserGuid" />
          <orm:Properties>
            <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="RoleUser" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ChildCollection>
        <orm:ChildCollection Name="AppModule" ObjectName="AppModule" PluralName="AppModules" ChildTableName="AppModule" Caption="App Module" UniqueName="AppModule" PluralUniqueName="AppModules" Flag="4" CasedName="appModule" ChildFlag="2" IsHierarchy="false" kd:Distinct="true">
          <orm:ChildKeyField Name="RoleGuid" ChildColumn="RoleGuid" ChildTable="RoleModule" ChildObject="AppModule" ChildProperty="RoleGuid" Ordinal="1" ParentColumn="RoleGuid" ParentTable="Role" ParentObject="Role" ParentProperty="RoleGuid" />
          <orm:ChildKeyField Name="ModuleGuid" ChildColumn="ModuleGuid" ChildTable="AppModule" ChildObject="AppModule" ChildProperty="ModuleGuid" Ordinal="2" ParentColumn="ModuleGuid" ParentTable="RoleModule" ParentObject="RoleModule" ParentProperty="ModuleGuid" />
          <orm:Properties>
            <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="RoleModule" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:FilterCriteria Name="RoleName" SPName="Select_Role_By_RoleName" Caption="Role Name" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="RoleName" TableName="Role" Caption="Role Name" ColumnName="RoleName" NETType="System.String" />
      </orm:FilterCriteria>
      <orm:SetFilterCriteria Name="RoleName" SPName="SelectAll_Role_By_RoleName" Caption="" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="RoleName" TableName="Role" Caption="Role Name" ColumnName="RoleName" NETType="System.String" />
      </orm:SetFilterCriteria>
      <orm:Properties>
        <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="Role" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="RoleName" ColumnName="RoleName" TableName="Role" NETType="System.String" Caption="Role Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="RoleName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationGuid" ColumnName="OrganizationGuid" TableName="Role" NETType="System.Guid" Caption="Organization Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="OrganizationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationSubtreeGuid" ColumnName="OrganizationSubtreeGuid" TableName="Organization" NETType="System.Guid" Caption="Organization Subtree Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="5" OriginalName="OrganizationSubtreeGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationSubtreeGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ParentOrganizationGuid" ColumnName="ParentOrganizationGuid" TableName="Organization" NETType="System.Guid" Caption="Parent Organization Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="6" OriginalName="ParentOrganizationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="parentOrganizationGuid" test5="Test5 value" test6="Test6 value" test7="Test7 value">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationShortName" ColumnName="OrganizationShortName" TableName="Organization" NETType="System.String" Caption="Organization Short Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" MaxLength="30" Ordinal="7" OriginalName="OrganizationShortName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationShortName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationName" ColumnName="OrganizationName" TableName="Organization" NETType="System.String" Caption="Organization Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" MaxLength="150" Ordinal="8" OriginalName="OrganizationName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="User" OriginalName="User" SingularName="User" PluralName="Users" DisplayName="UserGuid" Caption="User" PluralCaption="Users" DeletePriority="0" InsertPriority="0" TableName="User" CollectionName="Users" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="User" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_User" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
        <orm:Parameter Name="@UserName" Direction="IN" MaxLength="20" Caption="User Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="UserName" CasedName="userName" />
        <orm:Parameter Name="@Salt" Direction="IN" MaxLength="50" Caption="Salt" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Salt" CasedName="salt" />
        <orm:Parameter Name="@Password" Direction="IN" MaxLength="100" Caption="Password" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Password" CasedName="password" />
        <orm:Parameter Name="@FriendlyName" Direction="IN" MaxLength="50" Caption="Friendly Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FriendlyName" CasedName="friendlyName" />
        <orm:Parameter Name="@FirstName" Direction="IN" MaxLength="20" Caption="First Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FirstName" CasedName="firstName" />
        <orm:Parameter Name="@LastName" Direction="IN" MaxLength="20" Caption="Last Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="LastName" CasedName="lastName" />
        <orm:Parameter Name="@PreferedLanguage" Direction="IN" MaxLength="10" Caption="Prefered Language" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="PreferedLanguage" CasedName="preferedLanguage" />
        <orm:Parameter Name="@DevelopmentUser" Direction="IN" MaxLength="0" Caption="Development User" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="DevelopmentUser" CasedName="developmentUser" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_User" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_User" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
        <orm:Parameter Name="@UserName" Direction="IN" MaxLength="20" Caption="User Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="UserName" CasedName="userName" />
        <orm:Parameter Name="@Salt" Direction="IN" MaxLength="50" Caption="Salt" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Salt" CasedName="salt" />
        <orm:Parameter Name="@Password" Direction="IN" MaxLength="100" Caption="Password" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Password" CasedName="password" />
        <orm:Parameter Name="@FriendlyName" Direction="IN" MaxLength="50" Caption="Friendly Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FriendlyName" CasedName="friendlyName" />
        <orm:Parameter Name="@FirstName" Direction="IN" MaxLength="20" Caption="First Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FirstName" CasedName="firstName" />
        <orm:Parameter Name="@LastName" Direction="IN" MaxLength="20" Caption="Last Name" SQLType="varchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="LastName" CasedName="lastName" />
        <orm:Parameter Name="@PreferedLanguage" Direction="IN" MaxLength="10" Caption="Prefered Language" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="PreferedLanguage" CasedName="preferedLanguage" />
        <orm:Parameter Name="@DevelopmentUser" Direction="IN" MaxLength="0" Caption="Development User" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="DevelopmentUser" CasedName="developmentUser" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_User" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_User" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Role" UniqueName="Role">
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="RoleUser" ChildObject="User" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="Role" ParentObject="Role" ParentProperty="RoleGuid" />
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="User" ChildObject="User" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="UserGuid" />
          <orm:Properties>
            <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="RoleUser" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="126">
        <orm:ChildCollection Name="Organization" ObjectName="Organization" PluralName="Organizations" ChildTableName="Organization" Caption="Organization" UniqueName="Organization" PluralUniqueName="Organizations" Flag="2" CasedName="organization" ChildFlag="1" IsHierarchy="false" kd:Distinct="true">
          <orm:ChildKeyField Name="UserGuid" ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="Organization" ChildProperty="UserGuid" Ordinal="1" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
          <orm:ChildKeyField Name="RoleGuid" ChildColumn="RoleGuid" ChildTable="Role" ChildObject="Organization" ChildProperty="RoleGuid" Ordinal="2" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
          <orm:ChildKeyField Name="OrganizationGuid" ChildColumn="OrganizationGuid" ChildTable="Organization" ChildObject="Organization" ChildProperty="OrganizationGuid" Ordinal="3" ParentColumn="OrganizationGuid" ParentTable="Role" ParentObject="Role" ParentProperty="OrganizationGuid" />
          <orm:Properties>
            <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="RoleUser" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
            <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="Role" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="true" Ordinal="-1" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ChildCollection>
        <orm:ChildCollection Name="Role" ObjectName="Role" PluralName="Roles" ChildTableName="Role" Caption="Role" UniqueName="Role" PluralUniqueName="Roles" Flag="4" CasedName="role" ChildFlag="2" IsHierarchy="false">
          <orm:ChildKeyField Name="UserGuid" ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="Role" ChildProperty="UserGuid" Ordinal="1" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
          <orm:ChildKeyField Name="RoleGuid" ChildColumn="RoleGuid" ChildTable="Role" ChildObject="Role" ChildProperty="RoleGuid" Ordinal="2" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
          <orm:Properties>
            <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="RoleUser" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ChildCollection>
        <orm:ChildCollection Name="AppModule" ObjectName="AppModule" PluralName="AppModules" ChildTableName="AppModule" Caption="App Module" UniqueName="AppModule" PluralUniqueName="AppModules" Flag="8" CasedName="appModule" ChildFlag="4" IsHierarchy="false">
          <orm:ChildKeyField Name="UserGuid" ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="AppModule" ChildProperty="UserGuid" Ordinal="1" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
          <orm:ChildKeyField Name="RoleGuid" ChildColumn="RoleGuid" ChildTable="RoleModule" ChildObject="AppModule" ChildProperty="RoleGuid" Ordinal="2" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
          <orm:ChildKeyField Name="ModuleGuid" ChildColumn="ModuleGuid" ChildTable="AppModule" ChildObject="AppModule" ChildProperty="ModuleGuid" Ordinal="3" ParentColumn="ModuleGuid" ParentTable="RoleModule" ParentObject="RoleModule" ParentProperty="ModuleGuid" />
          <orm:Properties>
            <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="RoleUser" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
            <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="RoleModule" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="true" Ordinal="-1" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
              <orm:PropertyPrivileges />
            </orm:Property>
          </orm:Properties>
        </orm:ChildCollection>
        <orm:ChildCollection Name="UserCulture" ObjectName="UserCulture" PluralName="UserCultures" ChildTableName="UserCulture" Caption="User Culture" UniqueName="UserCulture" PluralUniqueName="UserCultures" Flag="16" CasedName="userCulture" ChildFlag="8" IsHierarchy="false">
          <orm:ChildKeyField Name="UserGuid" ChildColumn="UserGuid" ChildTable="UserCulture" ChildObject="UserCulture" ChildProperty="UserGuid" Ordinal="1" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="RoleUser" ObjectName="RoleUser" PluralName="RoleUsers" ChildTableName="RoleUser" Caption="Role User" UniqueName="RoleUser" PluralUniqueName="RoleUsers" Flag="32" CasedName="roleUser" ChildFlag="16" IsHierarchy="false">
          <orm:ChildKeyField Name="UserGuid" ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="RoleUser" ChildProperty="UserGuid" Ordinal="1" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:FilterCriteria Name="UserName" SPName="Select_User_By_UserName" Caption="User Name" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="UserName" TableName="User" Caption="User Name" ColumnName="UserName" NETType="System.String" />
      </orm:FilterCriteria>
      <orm:SetFilterCriteria Name="UserName" SPName="SelectAll_User_By_UserName" Caption="" IsPrimaryKeyCriteria="false">
        <orm:FilterCriterion Name="UserName" TableName="User" Caption="User Name" ColumnName="UserName" NETType="System.String" />
      </orm:SetFilterCriteria>
      <orm:Properties>
        <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="User" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="UserName" ColumnName="UserName" TableName="User" NETType="System.String" Caption="User Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="20" Ordinal="2" OriginalName="UserName" SQLType="varchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Salt" ColumnName="Salt" TableName="User" NETType="System.String" Caption="Salt" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="3" OriginalName="Salt" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="salt">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Password" ColumnName="Password" TableName="User" NETType="System.String" Caption="Password" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="100" Ordinal="4" OriginalName="Password" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="password">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FriendlyName" ColumnName="FriendlyName" TableName="User" NETType="System.String" Caption="Friendly Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="5" OriginalName="FriendlyName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="friendlyName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FirstName" ColumnName="FirstName" TableName="User" NETType="System.String" Caption="First Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="20" Ordinal="6" OriginalName="FirstName" SQLType="varchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="firstName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="LastName" ColumnName="LastName" TableName="User" NETType="System.String" Caption="Last Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="20" Ordinal="7" OriginalName="LastName" SQLType="varchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="lastName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="PreferedLanguage" ColumnName="PreferedLanguage" TableName="User" NETType="System.String" Caption="Prefered Language" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="10" Ordinal="8" OriginalName="PreferedLanguage" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="preferedLanguage">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="DevelopmentUser" ColumnName="DevelopmentUser" TableName="User" NETType="System.Boolean" Caption="Development User" ShortNETType="Boolean" VBTypeAlias="Boolean" CSharpType="bool" VBNETType="System.Boolean" AllowNulls="false" BaseNETType="System.Boolean" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="9" OriginalName="DevelopmentUser" SQLType="bit" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="developmentUser">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="&lt;All&gt;" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="RU" />
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="MenuStructure" OriginalName="MenuStructure" SingularName="MenuStructure" PluralName="MenuStructures" DisplayName="MenuGuid" Caption="Menu Structure" PluralCaption="Menu Structures" DeletePriority="0" InsertPriority="1" TableName="MenuStructure" CollectionName="MenuStructures" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="MenuStructure" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" HasSelfJoin="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_MenuStructure" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@MenuGuid" Direction="IN" MaxLength="0" Caption="Menu Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="MenuGuid" CasedName="menuGuid" />
        <orm:Parameter Name="@ResourceName" Direction="IN" MaxLength="50" Caption="Resource Name" SQLType="nchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceName" CasedName="resourceName" />
        <orm:Parameter Name="@ParentGuid" Direction="IN" MaxLength="0" Caption="Parent Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ParentGuid" CasedName="parentGuid" />
        <orm:Parameter Name="@Ordinal" Direction="IN" MaxLength="0" Caption="Ordinal" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="Ordinal" CasedName="ordinal" />
        <orm:Parameter Name="@ModuleGuid" Direction="IN" MaxLength="0" Caption="Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ModuleGuid" CasedName="moduleGuid" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_MenuStructure" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@MenuGuid" Direction="IN" MaxLength="0" Caption="Menu Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="MenuGuid" CasedName="menuGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_MenuStructure" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@MenuGuid" Direction="IN" MaxLength="0" Caption="Menu Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="MenuGuid" CasedName="menuGuid" />
        <orm:Parameter Name="@ResourceName" Direction="IN" MaxLength="50" Caption="Resource Name" SQLType="nchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ResourceName" CasedName="resourceName" />
        <orm:Parameter Name="@ParentGuid" Direction="IN" MaxLength="0" Caption="Parent Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ParentGuid" CasedName="parentGuid" />
        <orm:Parameter Name="@Ordinal" Direction="IN" MaxLength="0" Caption="Ordinal" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="Ordinal" CasedName="ordinal" />
        <orm:Parameter Name="@ModuleGuid" Direction="IN" MaxLength="0" Caption="Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ModuleGuid" CasedName="moduleGuid" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_MenuStructure" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@MenuGuid" Direction="IN" MaxLength="0" Caption="Menu Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="MenuGuid" CasedName="menuGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_MenuStructure" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="MenuStructure" UniqueName="MenuStructure">
          <orm:ForeignKey ChildColumn="ParentGuid" ChildTable="MenuStructure" ChildObject="MenuStructure" ChildProperty="ParentGuid" ParentColumn="MenuGuid" ParentTable="MenuStructure" ParentObject="MenuStructure" ParentProperty="MenuGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="AppModule" UniqueName="AppModule">
          <orm:ForeignKey ChildColumn="ModuleGuid" ChildTable="MenuStructure" ChildObject="MenuStructure" ChildProperty="ModuleGuid" ParentColumn="ModuleGuid" ParentTable="AppModule" ParentObject="AppModule" ParentProperty="ModuleGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="6">
        <orm:ChildCollection Name="MenuStructure" ObjectName="MenuStructure" PluralName="MenuStructures" ChildTableName="MenuStructure" Caption="Menu Structure" UniqueName="MenuStructure" PluralUniqueName="MenuStructures" Flag="2" CasedName="menuStructure" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="ParentGuid" ChildColumn="ParentGuid" ChildTable="MenuStructure" ChildObject="MenuStructure" ChildProperty="ParentGuid" Ordinal="1" ParentColumn="MenuGuid" ParentTable="MenuStructure" ParentObject="MenuStructure" ParentProperty="MenuGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="MenuGuid" ColumnName="MenuGuid" TableName="MenuStructure" NETType="System.Guid" Caption="Menu Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="MenuGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="menuGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ResourceName" ColumnName="ResourceName" TableName="MenuStructure" NETType="System.String" Caption="Resource Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="ResourceName" SQLType="nchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="resourceName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ParentGuid" ColumnName="ParentGuid" TableName="MenuStructure" NETType="System.Guid" Caption="Parent Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="ParentGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="parentGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Ordinal" ColumnName="Ordinal" TableName="MenuStructure" NETType="System.Int32" Caption="Ordinal" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="false" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="4" OriginalName="Ordinal" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="ordinal">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ModuleGuid" ColumnName="ModuleGuid" TableName="MenuStructure" NETType="System.Guid" Caption="Module Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="5" OriginalName="ModuleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="moduleGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="Factory" OriginalName="Factory" SingularName="Factory" PluralName="Factories" DisplayName="FactoryGuid" Caption="Factory" PluralCaption="Factories" DeletePriority="0" InsertPriority="0" TableName="Factory" CollectionName="Factories" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="Factory" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_Factory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
        <orm:Parameter Name="@FactoryName" Direction="IN" MaxLength="50" Caption="Factory Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryName" CasedName="factoryName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_Factory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_Factory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
        <orm:Parameter Name="@FactoryName" Direction="IN" MaxLength="50" Caption="Factory Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryName" CasedName="factoryName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_Factory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_Factory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="30">
        <orm:ChildCollection Name="FactoryPage" ObjectName="FactoryPage" PluralName="FactoryPages" ChildTableName="FactoryPage" Caption="Factory Page" UniqueName="FactoryPage" PluralUniqueName="FactoryPages" Flag="2" CasedName="factoryPage" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryGuid" ChildColumn="FactoryGuid" ChildTable="FactoryPage" ChildObject="FactoryPage" ChildProperty="FactoryGuid" Ordinal="1" ParentColumn="FactoryGuid" ParentTable="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="FactoryRole" ObjectName="FactoryRole" PluralName="FactoryRoles" ChildTableName="FactoryRole" Caption="Factory Role" UniqueName="FactoryRole" PluralUniqueName="FactoryRoles" Flag="4" CasedName="factoryRole" ChildFlag="2" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryGuid" ChildColumn="FactoryGuid" ChildTable="FactoryRole" ChildObject="FactoryRole" ChildProperty="FactoryGuid" Ordinal="1" ParentColumn="FactoryGuid" ParentTable="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="FactoryCulture" ObjectName="FactoryCulture" PluralName="FactoryCultures" ChildTableName="FactoryCulture" Caption="Factory Culture" UniqueName="FactoryCulture" PluralUniqueName="FactoryCultures" Flag="8" CasedName="factoryCulture" ChildFlag="4" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryGuid" ChildColumn="FactoryGuid" ChildTable="FactoryCulture" ChildObject="FactoryCulture" ChildProperty="FactoryGuid" Ordinal="1" ParentColumn="FactoryGuid" ParentTable="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="FactoryGuid" ColumnName="FactoryGuid" TableName="Factory" NETType="System.Guid" Caption="Factory Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryName" ColumnName="FactoryName" TableName="Factory" NETType="System.String" Caption="Factory Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="FactoryName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="FactoryChoice" OriginalName="FactoryChoice" SingularName="FactoryChoice" PluralName="FactoryChoices" DisplayName="FactoryChoiceGuid" Caption="Factory Choice" PluralCaption="Factory Choices" DeletePriority="0" InsertPriority="2" TableName="FactoryChoice" CollectionName="FactoryChoices" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="FactoryChoice" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_FactoryChoice" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceGuid" CasedName="factoryChoiceGuid" />
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
        <orm:Parameter Name="@FactoryChoiceName" Direction="IN" MaxLength="50" Caption="Factory Choice Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryChoiceName" CasedName="factoryChoiceName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_FactoryChoice" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceGuid" CasedName="factoryChoiceGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_FactoryChoice" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceGuid" CasedName="factoryChoiceGuid" />
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
        <orm:Parameter Name="@FactoryChoiceName" Direction="IN" MaxLength="50" Caption="Factory Choice Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryChoiceName" CasedName="factoryChoiceName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_FactoryChoice" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceGuid" CasedName="factoryChoiceGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_FactoryChoice" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryPage" UniqueName="FactoryPage">
          <orm:ForeignKey ChildColumn="FactoryPageGuid" ChildTable="FactoryChoice" ChildObject="FactoryChoice" ChildProperty="FactoryPageGuid" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="30">
        <orm:ChildCollection Name="FactoryPage" ObjectName="FactoryPage" PluralName="FactoryPages" ChildTableName="FactoryPage" Caption="Factory Page" UniqueName="FactoryPage" PluralUniqueName="FactoryPages" Flag="2" CasedName="factoryPage" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryCallingChoiceGuid" ChildColumn="FactoryCallingChoiceGuid" ChildTable="FactoryPage" ChildObject="FactoryPage" ChildProperty="FactoryCallingChoiceGuid" Ordinal="1" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="FactoryItemDefault" ObjectName="FactoryItemDefault" PluralName="FactoryItemDefaults" ChildTableName="FactoryItemDefault" Caption="Factory Item Default" UniqueName="FactoryItemDefault" PluralUniqueName="FactoryItemDefaults" Flag="4" CasedName="factoryItemDefault" ChildFlag="2" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryChoiceGuid" ChildColumn="FactoryChoiceGuid" ChildTable="FactoryItemDefault" ChildObject="FactoryItemDefault" ChildProperty="FactoryChoiceGuid" Ordinal="1" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="FactoryChoiceCulture" ObjectName="FactoryChoiceCulture" PluralName="FactoryChoiceCultures" ChildTableName="FactoryChoiceCulture" Caption="Factory Choice Culture" UniqueName="FactoryChoiceCulture" PluralUniqueName="FactoryChoiceCultures" Flag="8" CasedName="factoryChoiceCulture" ChildFlag="4" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryChoiceGuid" ChildColumn="FactoryChoiceGuid" ChildTable="FactoryChoiceCulture" ChildObject="FactoryChoiceCulture" ChildProperty="FactoryChoiceGuid" Ordinal="1" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="FactoryChoiceGuid" ColumnName="FactoryChoiceGuid" TableName="FactoryChoice" NETType="System.Guid" Caption="Factory Choice Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryChoiceGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryChoiceGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryPageGuid" ColumnName="FactoryPageGuid" TableName="FactoryChoice" NETType="System.Guid" Caption="Factory Page Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="FactoryPageGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryPageGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryChoiceName" ColumnName="FactoryChoiceName" TableName="FactoryChoice" NETType="System.String" Caption="Factory Choice Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="3" OriginalName="FactoryChoiceName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryChoiceName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="FactoryChoiceCulture" OriginalName="FactoryChoiceCulture" SingularName="FactoryChoiceCulture" PluralName="FactoryChoiceCultures" DisplayName="FactoryChoiceCultureGuid" Caption="Factory Choice Culture" PluralCaption="Factory Choice Cultures" DeletePriority="0" InsertPriority="3" TableName="FactoryChoiceCulture" CollectionName="FactoryChoiceCultures" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="FactoryChoiceCulture" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_FactoryChoiceCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryChoiceCultureGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceCultureGuid" CasedName="factoryChoiceCultureGuid" />
        <orm:Parameter Name="@FactoryChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceGuid" CasedName="factoryChoiceGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@Caption" Direction="IN" MaxLength="100" Caption="Caption" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption" CasedName="caption" />
        <orm:Parameter Name="@Description" Direction="IN" MaxLength="255" Caption="Description" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Description" CasedName="description" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_FactoryChoiceCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryChoiceCultureGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceCultureGuid" CasedName="factoryChoiceCultureGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_FactoryChoiceCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryChoiceCultureGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceCultureGuid" CasedName="factoryChoiceCultureGuid" />
        <orm:Parameter Name="@FactoryChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceGuid" CasedName="factoryChoiceGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@Caption" Direction="IN" MaxLength="100" Caption="Caption" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption" CasedName="caption" />
        <orm:Parameter Name="@Description" Direction="IN" MaxLength="255" Caption="Description" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Description" CasedName="description" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_FactoryChoiceCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryChoiceCultureGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceCultureGuid" CasedName="factoryChoiceCultureGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_FactoryChoiceCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryChoice" UniqueName="FactoryChoice">
          <orm:ForeignKey ChildColumn="FactoryChoiceGuid" ChildTable="FactoryChoiceCulture" ChildObject="FactoryChoiceCulture" ChildProperty="FactoryChoiceGuid" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="FactoryChoiceCultureGuid" ColumnName="FactoryChoiceCultureGuid" TableName="FactoryChoiceCulture" NETType="System.Guid" Caption="Factory Choice Culture Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryChoiceCultureGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryChoiceCultureGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryChoiceGuid" ColumnName="FactoryChoiceGuid" TableName="FactoryChoiceCulture" NETType="System.Guid" Caption="Factory Choice Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="FactoryChoiceGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryChoiceGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureId" ColumnName="CultureId" TableName="FactoryChoiceCulture" NETType="System.String" Caption="Culture Id" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="10" Ordinal="3" OriginalName="CultureId" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureId">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Caption" ColumnName="Caption" TableName="FactoryChoiceCulture" NETType="System.String" Caption="Caption" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="100" Ordinal="4" OriginalName="Caption" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="caption">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Description" ColumnName="Description" TableName="FactoryChoiceCulture" NETType="System.String" Caption="Description" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="255" Ordinal="5" OriginalName="Description" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="description">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="FactoryCulture" OriginalName="FactoryCulture" SingularName="FactoryCulture" PluralName="FactoryCultures" DisplayName="FactoryCultureGuid" Caption="Factory Culture" PluralCaption="Factory Cultures" DeletePriority="0" InsertPriority="1" TableName="FactoryCulture" CollectionName="FactoryCultures" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="FactoryCulture" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_FactoryCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryCultureGuid" Direction="IN" MaxLength="0" Caption="Factory Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryCultureGuid" CasedName="factoryCultureGuid" />
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@Caption" Direction="IN" MaxLength="100" Caption="Caption" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption" CasedName="caption" />
        <orm:Parameter Name="@Description" Direction="IN" MaxLength="255" Caption="Description" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Description" CasedName="description" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_FactoryCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryCultureGuid" Direction="IN" MaxLength="0" Caption="Factory Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryCultureGuid" CasedName="factoryCultureGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_FactoryCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryCultureGuid" Direction="IN" MaxLength="0" Caption="Factory Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryCultureGuid" CasedName="factoryCultureGuid" />
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@Caption" Direction="IN" MaxLength="100" Caption="Caption" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Caption" CasedName="caption" />
        <orm:Parameter Name="@Description" Direction="IN" MaxLength="255" Caption="Description" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Description" CasedName="description" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_FactoryCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryCultureGuid" Direction="IN" MaxLength="0" Caption="Factory Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryCultureGuid" CasedName="factoryCultureGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_FactoryCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Factory" UniqueName="Factory">
          <orm:ForeignKey ChildColumn="FactoryGuid" ChildTable="FactoryCulture" ChildObject="FactoryCulture" ChildProperty="FactoryGuid" ParentColumn="FactoryGuid" ParentTable="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="FactoryCultureGuid" ColumnName="FactoryCultureGuid" TableName="FactoryCulture" NETType="System.Guid" Caption="Factory Culture Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryCultureGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryCultureGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryGuid" ColumnName="FactoryGuid" TableName="FactoryCulture" NETType="System.Guid" Caption="Factory Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="FactoryGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureId" ColumnName="CultureId" TableName="FactoryCulture" NETType="System.String" Caption="Culture Id" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="10" Ordinal="3" OriginalName="CultureId" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureId">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Caption" ColumnName="Caption" TableName="FactoryCulture" NETType="System.String" Caption="Caption" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="100" Ordinal="4" OriginalName="Caption" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="caption">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Description" ColumnName="Description" TableName="FactoryCulture" NETType="System.String" Caption="Description" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="255" Ordinal="5" OriginalName="Description" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="description">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="FactoryItem" OriginalName="FactoryItem" SingularName="FactoryItem" PluralName="FactoryItems" DisplayName="FactoryItemGuid" Caption="Factory Item" PluralCaption="Factory Items" DeletePriority="0" InsertPriority="3" TableName="FactoryItem" CollectionName="FactoryItems" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="FactoryItem" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_FactoryItem" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryItemGuid" Direction="IN" MaxLength="0" Caption="Factory Item Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemGuid" CasedName="factoryItemGuid" />
        <orm:Parameter Name="@FactoryRecordGuid" Direction="IN" MaxLength="0" Caption="Factory Record Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordGuid" CasedName="factoryRecordGuid" />
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
        <orm:Parameter Name="@FactoryItemName" Direction="IN" MaxLength="50" Caption="Factory Item Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryItemName" CasedName="factoryItemName" />
        <orm:Parameter Name="@ItemField" Direction="IN" MaxLength="50" Caption="Item Field" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ItemField" CasedName="itemField" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_FactoryItem" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryItemGuid" Direction="IN" MaxLength="0" Caption="Factory Item Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemGuid" CasedName="factoryItemGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_FactoryItem" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryItemGuid" Direction="IN" MaxLength="0" Caption="Factory Item Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemGuid" CasedName="factoryItemGuid" />
        <orm:Parameter Name="@FactoryRecordGuid" Direction="IN" MaxLength="0" Caption="Factory Record Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordGuid" CasedName="factoryRecordGuid" />
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
        <orm:Parameter Name="@FactoryItemName" Direction="IN" MaxLength="50" Caption="Factory Item Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryItemName" CasedName="factoryItemName" />
        <orm:Parameter Name="@ItemField" Direction="IN" MaxLength="50" Caption="Item Field" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ItemField" CasedName="itemField" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_FactoryItem" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryItemGuid" Direction="IN" MaxLength="0" Caption="Factory Item Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemGuid" CasedName="factoryItemGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_FactoryItem" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryPage" UniqueName="FactoryPage">
          <orm:ForeignKey ChildColumn="FactoryPageGuid" ChildTable="FactoryItem" ChildObject="FactoryItem" ChildProperty="FactoryPageGuid" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="FactoryRecord" UniqueName="FactoryRecord">
          <orm:ForeignKey ChildColumn="FactoryRecordGuid" ChildTable="FactoryItem" ChildObject="FactoryItem" ChildProperty="FactoryRecordGuid" ParentColumn="FactoryRecordGuid" ParentTable="FactoryRecord" ParentObject="FactoryRecord" ParentProperty="FactoryRecordGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="6">
        <orm:ChildCollection Name="FactoryItemDefault" ObjectName="FactoryItemDefault" PluralName="FactoryItemDefaults" ChildTableName="FactoryItemDefault" Caption="Factory Item Default" UniqueName="FactoryItemDefault" PluralUniqueName="FactoryItemDefaults" Flag="2" CasedName="factoryItemDefault" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryItemGuid" ChildColumn="FactoryItemGuid" ChildTable="FactoryItemDefault" ChildObject="FactoryItemDefault" ChildProperty="FactoryItemGuid" Ordinal="1" ParentColumn="FactoryItemGuid" ParentTable="FactoryItem" ParentObject="FactoryItem" ParentProperty="FactoryItemGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="FactoryItemGuid" ColumnName="FactoryItemGuid" TableName="FactoryItem" NETType="System.Guid" Caption="Factory Item Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryItemGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryItemGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryRecordGuid" ColumnName="FactoryRecordGuid" TableName="FactoryItem" NETType="System.Guid" Caption="Factory Record Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="FactoryRecordGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryRecordGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryPageGuid" ColumnName="FactoryPageGuid" TableName="FactoryItem" NETType="System.Guid" Caption="Factory Page Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="FactoryPageGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryPageGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryItemName" ColumnName="FactoryItemName" TableName="FactoryItem" NETType="System.String" Caption="Factory Item Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="4" OriginalName="FactoryItemName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryItemName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ItemField" ColumnName="ItemField" TableName="FactoryItem" NETType="System.String" Caption="Item Field" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="5" OriginalName="ItemField" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="itemField">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="FactoryItemDefault" OriginalName="FactoryItemDefault" SingularName="FactoryItemDefault" PluralName="FactoryItemDefaults" DisplayName="FactoryItemDetaultGuid" Caption="Factory Item Default" PluralCaption="Factory Item Defaults" DeletePriority="0" InsertPriority="4" TableName="FactoryItemDefault" CollectionName="FactoryItemDefaults" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="FactoryItemDefault" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_FactoryItemDefault" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryItemDetaultGuid" Direction="IN" MaxLength="0" Caption="Factory Item Detault Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemDetaultGuid" CasedName="factoryItemDetaultGuid" />
        <orm:Parameter Name="@FactoryItemGuid" Direction="IN" MaxLength="0" Caption="Factory Item Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemGuid" CasedName="factoryItemGuid" />
        <orm:Parameter Name="@FactoryChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceGuid" CasedName="factoryChoiceGuid" />
        <orm:Parameter Name="@Value" Direction="IN" MaxLength="255" Caption="Value" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Value" CasedName="value" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_FactoryItemDefault" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryItemDetaultGuid" Direction="IN" MaxLength="0" Caption="Factory Item Detault Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemDetaultGuid" CasedName="factoryItemDetaultGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_FactoryItemDefault" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryItemDetaultGuid" Direction="IN" MaxLength="0" Caption="Factory Item Detault Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemDetaultGuid" CasedName="factoryItemDetaultGuid" />
        <orm:Parameter Name="@FactoryItemGuid" Direction="IN" MaxLength="0" Caption="Factory Item Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemGuid" CasedName="factoryItemGuid" />
        <orm:Parameter Name="@FactoryChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryChoiceGuid" CasedName="factoryChoiceGuid" />
        <orm:Parameter Name="@Value" Direction="IN" MaxLength="255" Caption="Value" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Value" CasedName="value" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_FactoryItemDefault" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryItemDetaultGuid" Direction="IN" MaxLength="0" Caption="Factory Item Detault Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryItemDetaultGuid" CasedName="factoryItemDetaultGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_FactoryItemDefault" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryItem" UniqueName="FactoryItem">
          <orm:ForeignKey ChildColumn="FactoryItemGuid" ChildTable="FactoryItemDefault" ChildObject="FactoryItemDefault" ChildProperty="FactoryItemGuid" ParentColumn="FactoryItemGuid" ParentTable="FactoryItem" ParentObject="FactoryItem" ParentProperty="FactoryItemGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="FactoryChoice" UniqueName="FactoryChoice">
          <orm:ForeignKey ChildColumn="FactoryChoiceGuid" ChildTable="FactoryItemDefault" ChildObject="FactoryItemDefault" ChildProperty="FactoryChoiceGuid" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="FactoryItemDetaultGuid" ColumnName="FactoryItemDetaultGuid" TableName="FactoryItemDefault" NETType="System.Guid" Caption="Factory Item Detault Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryItemDetaultGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryItemDetaultGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryItemGuid" ColumnName="FactoryItemGuid" TableName="FactoryItemDefault" NETType="System.Guid" Caption="Factory Item Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="FactoryItemGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryItemGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryChoiceGuid" ColumnName="FactoryChoiceGuid" TableName="FactoryItemDefault" NETType="System.Guid" Caption="Factory Choice Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="FactoryChoiceGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryChoiceGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Value" ColumnName="Value" TableName="FactoryItemDefault" NETType="System.String" Caption="Value" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="255" Ordinal="4" OriginalName="Value" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="value">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="FactoryPage" OriginalName="FactoryPage" SingularName="FactoryPage" PluralName="FactoryPages" DisplayName="FactoryPageGuid" Caption="Factory Page" PluralCaption="Factory Pages" DeletePriority="0" InsertPriority="1" TableName="FactoryPage" CollectionName="FactoryPages" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="FactoryPage" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_FactoryPage" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
        <orm:Parameter Name="@FactoryCallingChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Calling Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryCallingChoiceGuid" CasedName="factoryCallingChoiceGuid" />
        <orm:Parameter Name="@FactoryPageName" Direction="IN" MaxLength="50" Caption="Factory Page Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryPageName" CasedName="factoryPageName" />
        <orm:Parameter Name="@Ordinal" Direction="IN" MaxLength="0" Caption="Ordinal" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="Ordinal" CasedName="ordinal" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_FactoryPage" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_FactoryPage" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
        <orm:Parameter Name="@FactoryCallingChoiceGuid" Direction="IN" MaxLength="0" Caption="Factory Calling Choice Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryCallingChoiceGuid" CasedName="factoryCallingChoiceGuid" />
        <orm:Parameter Name="@FactoryPageName" Direction="IN" MaxLength="50" Caption="Factory Page Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryPageName" CasedName="factoryPageName" />
        <orm:Parameter Name="@Ordinal" Direction="IN" MaxLength="0" Caption="Ordinal" SQLType="int" BaseNETType="System.Int32" NETType="System.Int32" ShortNETType="Int32" PropertyName="Ordinal" CasedName="ordinal" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_FactoryPage" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_FactoryPage" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryChoice" UniqueName="FactoryChoice">
          <orm:ForeignKey ChildColumn="FactoryCallingChoiceGuid" ChildTable="FactoryPage" ChildObject="FactoryPage" ChildProperty="FactoryCallingChoiceGuid" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Factory" UniqueName="Factory">
          <orm:ForeignKey ChildColumn="FactoryGuid" ChildTable="FactoryPage" ChildObject="FactoryPage" ChildProperty="FactoryGuid" ParentColumn="FactoryGuid" ParentTable="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="30">
        <orm:ChildCollection Name="FactoryChoice" ObjectName="FactoryChoice" PluralName="FactoryChoices" ChildTableName="FactoryChoice" Caption="Factory Choice" UniqueName="FactoryChoice" PluralUniqueName="FactoryChoices" Flag="2" CasedName="factoryChoice" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryPageGuid" ChildColumn="FactoryPageGuid" ChildTable="FactoryChoice" ChildObject="FactoryChoice" ChildProperty="FactoryPageGuid" Ordinal="1" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="FactoryItem" ObjectName="FactoryItem" PluralName="FactoryItems" ChildTableName="FactoryItem" Caption="Factory Item" UniqueName="FactoryItem" PluralUniqueName="FactoryItems" Flag="4" CasedName="factoryItem" ChildFlag="2" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryPageGuid" ChildColumn="FactoryPageGuid" ChildTable="FactoryItem" ChildObject="FactoryItem" ChildProperty="FactoryPageGuid" Ordinal="1" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" />
          <orm:Properties />
        </orm:ChildCollection>
        <orm:ChildCollection Name="FactoryRecord" ObjectName="FactoryRecord" PluralName="FactoryRecords" ChildTableName="FactoryRecord" Caption="Factory Record" UniqueName="FactoryRecord" PluralUniqueName="FactoryRecords" Flag="8" CasedName="factoryRecord" ChildFlag="4" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryPageGuid" ChildColumn="FactoryPageGuid" ChildTable="FactoryRecord" ChildObject="FactoryRecord" ChildProperty="FactoryPageGuid" Ordinal="1" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="FactoryPageGuid" ColumnName="FactoryPageGuid" TableName="FactoryPage" NETType="System.Guid" Caption="Factory Page Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryPageGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryPageGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryGuid" ColumnName="FactoryGuid" TableName="FactoryPage" NETType="System.Guid" Caption="Factory Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="FactoryGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryCallingChoiceGuid" ColumnName="FactoryCallingChoiceGuid" TableName="FactoryPage" NETType="System.Guid" Caption="Factory Calling Choice Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="FactoryCallingChoiceGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryCallingChoiceGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryPageName" ColumnName="FactoryPageName" TableName="FactoryPage" NETType="System.String" Caption="Factory Page Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="4" OriginalName="FactoryPageName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryPageName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Ordinal" ColumnName="Ordinal" TableName="FactoryPage" NETType="System.Int32" Caption="Ordinal" ShortNETType="Int32" VBTypeAlias="Integer" CSharpType="int" VBNETType="System.Int32" AllowNulls="true" BaseNETType="System.Int32" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="5" OriginalName="Ordinal" SQLType="int" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="ordinal">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="FactoryRecord" OriginalName="FactoryRecord" SingularName="FactoryRecord" PluralName="FactoryRecords" DisplayName="FactoryRecordGuid" Caption="Factory Record" PluralCaption="Factory Records" DeletePriority="0" InsertPriority="2" TableName="FactoryRecord" CollectionName="FactoryRecords" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="FactoryRecord" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_FactoryRecord" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRecordGuid" Direction="IN" MaxLength="0" Caption="Factory Record Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordGuid" CasedName="factoryRecordGuid" />
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
        <orm:Parameter Name="@FactoryRecordTable" Direction="IN" MaxLength="50" Caption="Factory Record Table" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryRecordTable" CasedName="factoryRecordTable" />
        <orm:Parameter Name="@FactoryRecordActionGuid" Direction="IN" MaxLength="0" Caption="Factory Record Action Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordActionGuid" CasedName="factoryRecordActionGuid" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_FactoryRecord" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRecordGuid" Direction="IN" MaxLength="0" Caption="Factory Record Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordGuid" CasedName="factoryRecordGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_FactoryRecord" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRecordGuid" Direction="IN" MaxLength="0" Caption="Factory Record Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordGuid" CasedName="factoryRecordGuid" />
        <orm:Parameter Name="@FactoryPageGuid" Direction="IN" MaxLength="0" Caption="Factory Page Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryPageGuid" CasedName="factoryPageGuid" />
        <orm:Parameter Name="@FactoryRecordTable" Direction="IN" MaxLength="50" Caption="Factory Record Table" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryRecordTable" CasedName="factoryRecordTable" />
        <orm:Parameter Name="@FactoryRecordActionGuid" Direction="IN" MaxLength="0" Caption="Factory Record Action Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordActionGuid" CasedName="factoryRecordActionGuid" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_FactoryRecord" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRecordGuid" Direction="IN" MaxLength="0" Caption="Factory Record Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordGuid" CasedName="factoryRecordGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_FactoryRecord" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryPage" UniqueName="FactoryPage">
          <orm:ForeignKey ChildColumn="FactoryPageGuid" ChildTable="FactoryRecord" ChildObject="FactoryRecord" ChildProperty="FactoryPageGuid" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="FactoryRecordAction" UniqueName="FactoryRecordAction">
          <orm:ForeignKey ChildColumn="FactoryRecordActionGuid" ChildTable="FactoryRecord" ChildObject="FactoryRecord" ChildProperty="FactoryRecordActionGuid" ParentColumn="FactoryRecordActionGuid" ParentTable="FactoryRecordAction" ParentObject="FactoryRecordAction" ParentProperty="FactoryRecordActionGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="6">
        <orm:ChildCollection Name="FactoryItem" ObjectName="FactoryItem" PluralName="FactoryItems" ChildTableName="FactoryItem" Caption="Factory Item" UniqueName="FactoryItem" PluralUniqueName="FactoryItems" Flag="2" CasedName="factoryItem" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryRecordGuid" ChildColumn="FactoryRecordGuid" ChildTable="FactoryItem" ChildObject="FactoryItem" ChildProperty="FactoryRecordGuid" Ordinal="1" ParentColumn="FactoryRecordGuid" ParentTable="FactoryRecord" ParentObject="FactoryRecord" ParentProperty="FactoryRecordGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="FactoryRecordGuid" ColumnName="FactoryRecordGuid" TableName="FactoryRecord" NETType="System.Guid" Caption="Factory Record Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryRecordGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryRecordGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryPageGuid" ColumnName="FactoryPageGuid" TableName="FactoryRecord" NETType="System.Guid" Caption="Factory Page Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="FactoryPageGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryPageGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryRecordTable" ColumnName="FactoryRecordTable" TableName="FactoryRecord" NETType="System.String" Caption="Factory Record Table" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="3" OriginalName="FactoryRecordTable" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryRecordTable">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryRecordActionGuid" ColumnName="FactoryRecordActionGuid" TableName="FactoryRecord" NETType="System.Guid" Caption="Factory Record Action Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="4" OriginalName="FactoryRecordActionGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryRecordActionGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="FactoryRecordAction" OriginalName="FactoryRecordAction" SingularName="FactoryRecordAction" PluralName="FactoryRecordActions" DisplayName="FactoryRecordActionGuid" Caption="Factory Record Action" PluralCaption="Factory Record Actions" DeletePriority="0" InsertPriority="0" TableName="FactoryRecordAction" CollectionName="FactoryRecordActions" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="FactoryRecordAction" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_FactoryRecordAction" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRecordActionGuid" Direction="IN" MaxLength="0" Caption="Factory Record Action Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordActionGuid" CasedName="factoryRecordActionGuid" />
        <orm:Parameter Name="@FactoryRecordActionName" Direction="IN" MaxLength="50" Caption="Factory Record Action Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryRecordActionName" CasedName="factoryRecordActionName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_FactoryRecordAction" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRecordActionGuid" Direction="IN" MaxLength="0" Caption="Factory Record Action Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordActionGuid" CasedName="factoryRecordActionGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_FactoryRecordAction" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRecordActionGuid" Direction="IN" MaxLength="0" Caption="Factory Record Action Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordActionGuid" CasedName="factoryRecordActionGuid" />
        <orm:Parameter Name="@FactoryRecordActionName" Direction="IN" MaxLength="50" Caption="Factory Record Action Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="FactoryRecordActionName" CasedName="factoryRecordActionName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_FactoryRecordAction" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRecordActionGuid" Direction="IN" MaxLength="0" Caption="Factory Record Action Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRecordActionGuid" CasedName="factoryRecordActionGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_FactoryRecordAction" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="6">
        <orm:ChildCollection Name="FactoryRecord" ObjectName="FactoryRecord" PluralName="FactoryRecords" ChildTableName="FactoryRecord" Caption="Factory Record" UniqueName="FactoryRecord" PluralUniqueName="FactoryRecords" Flag="2" CasedName="factoryRecord" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="FactoryRecordActionGuid" ChildColumn="FactoryRecordActionGuid" ChildTable="FactoryRecord" ChildObject="FactoryRecord" ChildProperty="FactoryRecordActionGuid" Ordinal="1" ParentColumn="FactoryRecordActionGuid" ParentTable="FactoryRecordAction" ParentObject="FactoryRecordAction" ParentProperty="FactoryRecordActionGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="FactoryRecordActionGuid" ColumnName="FactoryRecordActionGuid" TableName="FactoryRecordAction" NETType="System.Guid" Caption="Factory Record Action Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryRecordActionGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryRecordActionGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryRecordActionName" ColumnName="FactoryRecordActionName" TableName="FactoryRecordAction" NETType="System.String" Caption="Factory Record Action Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="FactoryRecordActionName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryRecordActionName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="FactoryRole" OriginalName="FactoryRole" SingularName="FactoryRole" PluralName="FactoryRoles" DisplayName="FactoryRoleGuid" Caption="Factory Role" PluralCaption="Factory Roles" DeletePriority="0" InsertPriority="3" TableName="FactoryRole" CollectionName="FactoryRoles" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="FactoryRole" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_FactoryRole" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRoleGuid" Direction="IN" MaxLength="0" Caption="Factory Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRoleGuid" CasedName="factoryRoleGuid" />
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
        <orm:Parameter Name="@CanRun" Direction="IN" MaxLength="0" Caption="Can Run" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="CanRun" CasedName="canRun" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_FactoryRole" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRoleGuid" Direction="IN" MaxLength="0" Caption="Factory Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRoleGuid" CasedName="factoryRoleGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_FactoryRole" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRoleGuid" Direction="IN" MaxLength="0" Caption="Factory Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRoleGuid" CasedName="factoryRoleGuid" />
        <orm:Parameter Name="@FactoryGuid" Direction="IN" MaxLength="0" Caption="Factory Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryGuid" CasedName="factoryGuid" />
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
        <orm:Parameter Name="@CanRun" Direction="IN" MaxLength="0" Caption="Can Run" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="CanRun" CasedName="canRun" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_FactoryRole" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@FactoryRoleGuid" Direction="IN" MaxLength="0" Caption="Factory Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="FactoryRoleGuid" CasedName="factoryRoleGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_FactoryRole" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Role" UniqueName="Role">
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="FactoryRole" ChildObject="FactoryRole" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="FactoryRole" ParentObject="FactoryRole" ParentProperty="RoleGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Factory" UniqueName="Factory">
          <orm:ForeignKey ChildColumn="FactoryGuid" ChildTable="FactoryRole" ChildObject="FactoryRole" ChildProperty="FactoryGuid" ParentColumn="FactoryGuid" ParentTable="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="FactoryRoleGuid" ColumnName="FactoryRoleGuid" TableName="FactoryRole" NETType="System.Guid" Caption="Factory Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="FactoryRoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryRoleGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="FactoryGuid" ColumnName="FactoryGuid" TableName="FactoryRole" NETType="System.Guid" Caption="Factory Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="FactoryGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="factoryGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="FactoryRole" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CanRun" ColumnName="CanRun" TableName="FactoryRole" NETType="System.Boolean" Caption="Can Run" ShortNETType="Boolean" VBTypeAlias="Boolean" CSharpType="bool" VBNETType="System.Boolean" AllowNulls="false" BaseNETType="System.Boolean" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="4" OriginalName="CanRun" SQLType="bit" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="canRun">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="LocalizedData" OriginalName="LocalizedData" SingularName="LocalizedData" PluralName="LocalizedDatas" DisplayName="LocalizedDataGuid" Caption="Localized Data" PluralCaption="Localized Datas" DeletePriority="0" InsertPriority="0" TableName="LocalizedData" CollectionName="LocalizedDatas" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="LocalizedData" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_LocalizedData" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@LocalizedDataGuid" Direction="IN" MaxLength="0" Caption="Localized Data Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="LocalizedDataGuid" CasedName="localizedDataGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@PrimaryKeyGuid" Direction="IN" MaxLength="0" Caption="Primary Key Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="PrimaryKeyGuid" CasedName="primaryKeyGuid" />
        <orm:Parameter Name="@TableName" Direction="IN" MaxLength="50" Caption="Table Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="TableName" CasedName="tableName" />
        <orm:Parameter Name="@ColumnName" Direction="IN" MaxLength="50" Caption="Column Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ColumnName" CasedName="columnName" />
        <orm:Parameter Name="@Value" Direction="IN" MaxLength="255" Caption="Value" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Value" CasedName="value" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_LocalizedData" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@LocalizedDataGuid" Direction="IN" MaxLength="0" Caption="Localized Data Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="LocalizedDataGuid" CasedName="localizedDataGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_LocalizedData" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@LocalizedDataGuid" Direction="IN" MaxLength="0" Caption="Localized Data Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="LocalizedDataGuid" CasedName="localizedDataGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@PrimaryKeyGuid" Direction="IN" MaxLength="0" Caption="Primary Key Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="PrimaryKeyGuid" CasedName="primaryKeyGuid" />
        <orm:Parameter Name="@TableName" Direction="IN" MaxLength="50" Caption="Table Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="TableName" CasedName="tableName" />
        <orm:Parameter Name="@ColumnName" Direction="IN" MaxLength="50" Caption="Column Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="ColumnName" CasedName="columnName" />
        <orm:Parameter Name="@Value" Direction="IN" MaxLength="255" Caption="Value" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Value" CasedName="value" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_LocalizedData" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@LocalizedDataGuid" Direction="IN" MaxLength="0" Caption="Localized Data Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="LocalizedDataGuid" CasedName="localizedDataGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_LocalizedData" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Culture" UniqueName="Culture">
          <orm:ForeignKey ChildColumn="PrimaryKeyGuid" ChildTable="LocalizedData" ChildObject="LocalizedData" ChildProperty="PrimaryKeyGuid" ParentColumn="CultureGuid" ParentTable="Culture" ParentObject="Culture" ParentProperty="CultureGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="AppModule" UniqueName="AppModule">
          <orm:ForeignKey ChildColumn="PrimaryKeyGuid" ChildTable="LocalizedData" ChildObject="LocalizedData" ChildProperty="PrimaryKeyGuid" ParentColumn="ModuleGuid" ParentTable="AppModule" ParentObject="AppModule" ParentProperty="ModuleGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="LocalizedDataGuid" ColumnName="LocalizedDataGuid" TableName="LocalizedData" NETType="System.Guid" Caption="Localized Data Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="LocalizedDataGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="localizedDataGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureId" ColumnName="CultureId" TableName="LocalizedData" NETType="System.String" Caption="Culture Id" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="10" Ordinal="2" OriginalName="CultureId" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureId">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="PrimaryKeyGuid" ColumnName="PrimaryKeyGuid" TableName="LocalizedData" NETType="System.Guid" Caption="Primary Key Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="PrimaryKeyGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="primaryKeyGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="TableName" ColumnName="TableName" TableName="LocalizedData" NETType="System.String" Caption="Table Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="4" OriginalName="TableName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="tableName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ColumnName" ColumnName="ColumnName" TableName="LocalizedData" NETType="System.String" Caption="Column Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="5" OriginalName="ColumnName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="columnName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Value" ColumnName="Value" TableName="LocalizedData" NETType="System.String" Caption="Value" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="255" Ordinal="6" OriginalName="Value" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="value">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="OrganizationAccess" OriginalName="OrganizationAccess" SingularName="OrganizationAccess" PluralName="OrganizationAccesses" DisplayName="OrganizationGuid" Caption="Organization Access" PluralCaption="Organization Accesses" DeletePriority="0" InsertPriority="2" TableName="OrganizationAccess" CollectionName="OrganizationAccesses" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="OrganizationAccess" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_OrganizationAccess" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
        <orm:Parameter Name="@Access" Direction="IN" MaxLength="200" Caption="Access" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Access" CasedName="access" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_OrganizationAccess" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_OrganizationAccess" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
        <orm:Parameter Name="@Access" Direction="IN" MaxLength="200" Caption="Access" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Access" CasedName="access" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_OrganizationAccess" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_OrganizationAccess" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Organization" UniqueName="Organization">
          <orm:ForeignKey ChildColumn="OrganizationGuid" ChildTable="OrganizationAccess" ChildObject="OrganizationAccess" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="OrganizationGuid" ColumnName="OrganizationGuid" TableName="OrganizationAccess" NETType="System.Guid" Caption="Organization Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="OrganizationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Access" ColumnName="Access" TableName="OrganizationAccess" NETType="System.String" Caption="Access" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="200" Ordinal="2" OriginalName="Access" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="access">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="OrganizationCulture" OriginalName="OrganizationCulture" SingularName="OrganizationCulture" PluralName="OrganizationCultures" DisplayName="OrganizationCultureGuid" Caption="Organization Culture" PluralCaption="Organization Cultures" DeletePriority="0" InsertPriority="2" TableName="OrganizationCulture" CollectionName="OrganizationCultures" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="OrganizationCulture" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_OrganizationCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationCultureGuid" Direction="IN" MaxLength="0" Caption="Organization Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationCultureGuid" CasedName="organizationCultureGuid" />
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_OrganizationCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationCultureGuid" Direction="IN" MaxLength="0" Caption="Organization Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationCultureGuid" CasedName="organizationCultureGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_OrganizationCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationCultureGuid" Direction="IN" MaxLength="0" Caption="Organization Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationCultureGuid" CasedName="organizationCultureGuid" />
        <orm:Parameter Name="@OrganizationGuid" Direction="IN" MaxLength="0" Caption="Organization Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationGuid" CasedName="organizationGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_OrganizationCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationCultureGuid" Direction="IN" MaxLength="0" Caption="Organization Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationCultureGuid" CasedName="organizationCultureGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_OrganizationCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Organization" UniqueName="Organization">
          <orm:ForeignKey ChildColumn="OrganizationGuid" ChildTable="OrganizationCulture" ChildObject="OrganizationCulture" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="OrganizationCultureGuid" ColumnName="OrganizationCultureGuid" TableName="OrganizationCulture" NETType="System.Guid" Caption="Organization Culture Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="OrganizationCultureGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationCultureGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationGuid" ColumnName="OrganizationGuid" TableName="OrganizationCulture" NETType="System.Guid" Caption="Organization Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="OrganizationGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureId" ColumnName="CultureId" TableName="OrganizationCulture" NETType="System.String" Caption="Culture Id" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="10" Ordinal="3" OriginalName="CultureId" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureId">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="OrganizationSubtree" OriginalName="OrganizationSubtree" SingularName="OrganizationSubtree" PluralName="OrganizationSubtrees" DisplayName="OrganizationSubtreeGuid" Caption="Organization Subtree" PluralCaption="Organization Subtrees" DeletePriority="0" InsertPriority="0" TableName="OrganizationSubtree" CollectionName="OrganizationSubtrees" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="OrganizationSubtree" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_OrganizationSubtree" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationSubtreeGuid" Direction="IN" MaxLength="0" Caption="Organization Subtree Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationSubtreeGuid" CasedName="organizationSubtreeGuid" />
        <orm:Parameter Name="@OrganizationSubtreeName" Direction="IN" MaxLength="50" Caption="Organization Subtree Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OrganizationSubtreeName" CasedName="organizationSubtreeName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_OrganizationSubtree" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationSubtreeGuid" Direction="IN" MaxLength="0" Caption="Organization Subtree Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationSubtreeGuid" CasedName="organizationSubtreeGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_OrganizationSubtree" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationSubtreeGuid" Direction="IN" MaxLength="0" Caption="Organization Subtree Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationSubtreeGuid" CasedName="organizationSubtreeGuid" />
        <orm:Parameter Name="@OrganizationSubtreeName" Direction="IN" MaxLength="50" Caption="Organization Subtree Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="OrganizationSubtreeName" CasedName="organizationSubtreeName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_OrganizationSubtree" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@OrganizationSubtreeGuid" Direction="IN" MaxLength="0" Caption="Organization Subtree Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="OrganizationSubtreeGuid" CasedName="organizationSubtreeGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_OrganizationSubtree" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="6">
        <orm:ChildCollection Name="Organization" ObjectName="Organization" PluralName="Organizations" ChildTableName="Organization" Caption="Organization" UniqueName="Organization" PluralUniqueName="Organizations" Flag="2" CasedName="organization" ChildFlag="1" IsHierarchy="false">
          <orm:ChildKeyField Name="OrganizationSubtreeGuid" ChildColumn="OrganizationSubtreeGuid" ChildTable="Organization" ChildObject="Organization" ChildProperty="OrganizationSubtreeGuid" Ordinal="1" ParentColumn="OrganizationSubtreeGuid" ParentTable="OrganizationSubtree" ParentObject="OrganizationSubtree" ParentProperty="OrganizationSubtreeGuid" />
          <orm:Properties />
        </orm:ChildCollection>
      </orm:ChildCollections>
      <orm:Properties>
        <orm:Property Name="OrganizationSubtreeGuid" ColumnName="OrganizationSubtreeGuid" TableName="OrganizationSubtree" NETType="System.Guid" Caption="Organization Subtree Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="OrganizationSubtreeGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationSubtreeGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="OrganizationSubtreeName" ColumnName="OrganizationSubtreeName" TableName="OrganizationSubtree" NETType="System.String" Caption="Organization Subtree Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="OrganizationSubtreeName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="organizationSubtreeName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="RoleModule" OriginalName="RoleModule" SingularName="RoleModule" PluralName="RoleModules" DisplayName="RoleModuleGuid" Caption="Role Module" PluralCaption="Role Modules" DeletePriority="0" InsertPriority="0" TableName="RoleModule" CollectionName="RoleModules" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="RoleModule" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_RoleModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleModuleGuid" Direction="IN" MaxLength="0" Caption="Role Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleModuleGuid" CasedName="roleModuleGuid" />
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
        <orm:Parameter Name="@ModuleGuid" Direction="IN" MaxLength="0" Caption="Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ModuleGuid" CasedName="moduleGuid" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_RoleModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleModuleGuid" Direction="IN" MaxLength="0" Caption="Role Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleModuleGuid" CasedName="roleModuleGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_RoleModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleModuleGuid" Direction="IN" MaxLength="0" Caption="Role Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleModuleGuid" CasedName="roleModuleGuid" />
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
        <orm:Parameter Name="@ModuleGuid" Direction="IN" MaxLength="0" Caption="Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="ModuleGuid" CasedName="moduleGuid" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_RoleModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleModuleGuid" Direction="IN" MaxLength="0" Caption="Role Module Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleModuleGuid" CasedName="roleModuleGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_RoleModule" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="RoleModuleGuid" ColumnName="RoleModuleGuid" TableName="RoleModule" NETType="System.Guid" Caption="Role Module Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="RoleModuleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleModuleGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="RoleModule" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="ModuleGuid" ColumnName="ModuleGuid" TableName="RoleModule" NETType="System.Guid" Caption="Module Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="ModuleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="moduleGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="RoleUser" OriginalName="RoleUser" SingularName="RoleUser" PluralName="RoleUsers" DisplayName="RoleUserGuid" Caption="Role User" PluralCaption="Role Users" DeletePriority="0" InsertPriority="3" TableName="RoleUser" CollectionName="RoleUsers" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="RoleUser" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_RoleUser" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleUserGuid" Direction="IN" MaxLength="0" Caption="Role User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleUserGuid" CasedName="roleUserGuid" />
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_RoleUser" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleUserGuid" Direction="IN" MaxLength="0" Caption="Role User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleUserGuid" CasedName="roleUserGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_RoleUser" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleUserGuid" Direction="IN" MaxLength="0" Caption="Role User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleUserGuid" CasedName="roleUserGuid" />
        <orm:Parameter Name="@RoleGuid" Direction="IN" MaxLength="0" Caption="Role Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleGuid" CasedName="roleGuid" />
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_RoleUser" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@RoleUserGuid" Direction="IN" MaxLength="0" Caption="Role User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="RoleUserGuid" CasedName="roleUserGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_RoleUser" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Role" UniqueName="Role">
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="RoleUser" ChildObject="RoleUser" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="User" UniqueName="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="RoleUser" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="RoleUserGuid" ColumnName="RoleUserGuid" TableName="RoleUser" NETType="System.Guid" Caption="Role User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="RoleUserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleUserGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="RoleGuid" ColumnName="RoleGuid" TableName="RoleUser" NETType="System.Guid" Caption="Role Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="RoleGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="roleGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="RoleUser" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="3" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="SearchCategory" OriginalName="SearchCategory" SingularName="SearchCategory" PluralName="SearchCategories" DisplayName="SearchCategoryGuid" Caption="Search Category" PluralCaption="Search Categories" DeletePriority="0" InsertPriority="0" TableName="SearchCategory" CollectionName="SearchCategories" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="SearchCategory" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_SearchCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@SearchCategoryGuid" Direction="IN" MaxLength="0" Caption="Search Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="SearchCategoryGuid" CasedName="searchCategoryGuid" />
        <orm:Parameter Name="@SearchCategoryResourceName" Direction="IN" MaxLength="50" Caption="Search Category Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="SearchCategoryResourceName" CasedName="searchCategoryResourceName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_SearchCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@SearchCategoryGuid" Direction="IN" MaxLength="0" Caption="Search Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="SearchCategoryGuid" CasedName="searchCategoryGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_SearchCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@SearchCategoryGuid" Direction="IN" MaxLength="0" Caption="Search Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="SearchCategoryGuid" CasedName="searchCategoryGuid" />
        <orm:Parameter Name="@SearchCategoryResourceName" Direction="IN" MaxLength="50" Caption="Search Category Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="SearchCategoryResourceName" CasedName="searchCategoryResourceName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_SearchCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@SearchCategoryGuid" Direction="IN" MaxLength="0" Caption="Search Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="SearchCategoryGuid" CasedName="searchCategoryGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_SearchCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="SearchCategoryGuid" ColumnName="SearchCategoryGuid" TableName="SearchCategory" NETType="System.Guid" Caption="Search Category Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="SearchCategoryGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="searchCategoryGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="SearchCategoryResourceName" ColumnName="SearchCategoryResourceName" TableName="SearchCategory" NETType="System.String" Caption="Search Category Resource Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="SearchCategoryResourceName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="searchCategoryResourceName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="SearchCriteria" OriginalName="SearchCriteria" SingularName="SearchCriteria" PluralName="SearchCriterias" DisplayName="SearchCriteriaGuid" Caption="Search Criteria" PluralCaption="Search Criterias" DeletePriority="0" InsertPriority="0" TableName="SearchCriteria" CollectionName="SearchCriterias" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="SearchCriteria" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_SearchCriteria" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@SearchCriteriaGuid" Direction="IN" MaxLength="0" Caption="Search Criteria Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="SearchCriteriaGuid" CasedName="searchCriteriaGuid" />
        <orm:Parameter Name="@SearchCriteriasResourceName" Direction="IN" MaxLength="50" Caption="Search Criterias Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="SearchCriteriasResourceName" CasedName="searchCriteriasResourceName" />
        <orm:Parameter Name="@SearchCriteriaMethodName" Direction="IN" MaxLength="50" Caption="Search Criteria Method Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="SearchCriteriaMethodName" CasedName="searchCriteriaMethodName" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_SearchCriteria" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@SearchCriteriaGuid" Direction="IN" MaxLength="0" Caption="Search Criteria Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="SearchCriteriaGuid" CasedName="searchCriteriaGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_SearchCriteria" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@SearchCriteriaGuid" Direction="IN" MaxLength="0" Caption="Search Criteria Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="SearchCriteriaGuid" CasedName="searchCriteriaGuid" />
        <orm:Parameter Name="@SearchCriteriasResourceName" Direction="IN" MaxLength="50" Caption="Search Criterias Resource Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="SearchCriteriasResourceName" CasedName="searchCriteriasResourceName" />
        <orm:Parameter Name="@SearchCriteriaMethodName" Direction="IN" MaxLength="50" Caption="Search Criteria Method Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="SearchCriteriaMethodName" CasedName="searchCriteriaMethodName" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_SearchCriteria" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@SearchCriteriaGuid" Direction="IN" MaxLength="0" Caption="Search Criteria Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="SearchCriteriaGuid" CasedName="searchCriteriaGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_SearchCriteria" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="SearchCriteriaGuid" ColumnName="SearchCriteriaGuid" TableName="SearchCriteria" NETType="System.Guid" Caption="Search Criteria Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="SearchCriteriaGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="searchCriteriaGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="SearchCriteriasResourceName" ColumnName="SearchCriteriasResourceName" TableName="SearchCriteria" NETType="System.String" Caption="Search Criterias Resource Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="SearchCriteriasResourceName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="searchCriteriasResourceName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="SearchCriteriaMethodName" ColumnName="SearchCriteriaMethodName" TableName="SearchCriteria" NETType="System.String" Caption="Search Criteria Method Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="3" OriginalName="SearchCriteriaMethodName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="searchCriteriaMethodName">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="StringCategory" OriginalName="StringCategory" SingularName="StringCategory" PluralName="StringCategories" DisplayName="StringCategoryGuid" Caption="String Category" PluralCaption="String Categories" DeletePriority="0" InsertPriority="0" TableName="StringCategory" CollectionName="StringCategories" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="StringCategory" IsLookup="true" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_StringCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringCategoryGuid" Direction="IN" MaxLength="0" Caption="String Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringCategoryGuid" CasedName="stringCategoryGuid" />
        <orm:Parameter Name="@Description" Direction="IN" MaxLength="50" Caption="Description" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Description" CasedName="description" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_StringCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringCategoryGuid" Direction="IN" MaxLength="0" Caption="String Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringCategoryGuid" CasedName="stringCategoryGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_StringCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringCategoryGuid" Direction="IN" MaxLength="0" Caption="String Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringCategoryGuid" CasedName="stringCategoryGuid" />
        <orm:Parameter Name="@Description" Direction="IN" MaxLength="50" Caption="Description" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Description" CasedName="description" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_StringCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@StringCategoryGuid" Direction="IN" MaxLength="0" Caption="String Category Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="StringCategoryGuid" CasedName="stringCategoryGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_StringCategory" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="StringCategoryGuid" ColumnName="StringCategoryGuid" TableName="StringCategory" NETType="System.Guid" Caption="String Category Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="StringCategoryGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="stringCategoryGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Description" ColumnName="Description" TableName="StringCategory" NETType="System.String" Caption="Description" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="2" OriginalName="Description" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="description">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="UserCulture" OriginalName="UserCulture" SingularName="UserCulture" PluralName="UserCultures" DisplayName="UserCultureGuid" Caption="User Culture" PluralCaption="User Cultures" DeletePriority="0" InsertPriority="1" TableName="UserCulture" CollectionName="UserCultures" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="UserCulture" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_UserCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserCultureGuid" Direction="IN" MaxLength="0" Caption="User Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserCultureGuid" CasedName="userCultureGuid" />
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@CanRead" Direction="IN" MaxLength="0" Caption="Can Read" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="CanRead" CasedName="canRead" />
        <orm:Parameter Name="@CanWrite" Direction="IN" MaxLength="0" Caption="Can Write" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="CanWrite" CasedName="canWrite" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_UserCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserCultureGuid" Direction="IN" MaxLength="0" Caption="User Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserCultureGuid" CasedName="userCultureGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_UserCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserCultureGuid" Direction="IN" MaxLength="0" Caption="User Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserCultureGuid" CasedName="userCultureGuid" />
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
        <orm:Parameter Name="@CultureId" Direction="IN" MaxLength="10" Caption="Culture Id" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="CultureId" CasedName="cultureId" />
        <orm:Parameter Name="@CanRead" Direction="IN" MaxLength="0" Caption="Can Read" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="CanRead" CasedName="canRead" />
        <orm:Parameter Name="@CanWrite" Direction="IN" MaxLength="0" Caption="Can Write" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" ShortNETType="Boolean" PropertyName="CanWrite" CasedName="canWrite" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_UserCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserCultureGuid" Direction="IN" MaxLength="0" Caption="User Culture Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserCultureGuid" CasedName="userCultureGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_UserCulture" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="User" UniqueName="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="UserCulture" ChildObject="UserCulture" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="UserCultureGuid" ColumnName="UserCultureGuid" TableName="UserCulture" NETType="System.Guid" Caption="User Culture Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="UserCultureGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userCultureGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="UserCulture" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="true" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="1" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CultureId" ColumnName="CultureId" TableName="UserCulture" NETType="System.String" Caption="Culture Id" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="true" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="10" Ordinal="3" OriginalName="CultureId" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="cultureId">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CanRead" ColumnName="CanRead" TableName="UserCulture" NETType="System.Boolean" Caption="Can Read" ShortNETType="Boolean" VBTypeAlias="Boolean" CSharpType="bool" VBNETType="System.Boolean" AllowNulls="false" BaseNETType="System.Boolean" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="4" OriginalName="CanRead" SQLType="bit" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="canRead">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="CanWrite" ColumnName="CanWrite" TableName="UserCulture" NETType="System.Boolean" Caption="Can Write" ShortNETType="Boolean" VBTypeAlias="Boolean" CSharpType="bool" VBNETType="System.Boolean" AllowNulls="false" BaseNETType="System.Boolean" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="5" OriginalName="CanWrite" SQLType="bit" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="canWrite">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
    <orm:Object Name="UserSetting" OriginalName="UserSetting" SingularName="UserSetting" PluralName="UserSettings" DisplayName="UserSettingGuid" Caption="User Setting" PluralCaption="User Settings" DeletePriority="0" InsertPriority="0" TableName="UserSetting" CollectionName="UserSettings" Generate="CRUDS" NoGenObject="false" NoGenStoredProc="false" NoGenUI="false" ObjectName="UserSetting" IsLookup="false" NoChildren="false" Root="true" Child="true" Collection="true" CollectionChild="true" CollectionRoot="true" IsMultiParentChild="false">
      <orm:CreateSP Name="Insert_UserSetting" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserSettingGuid" Direction="IN" MaxLength="0" Caption="User Setting Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserSettingGuid" CasedName="userSettingGuid" />
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
        <orm:Parameter Name="@SettingName" Direction="IN" MaxLength="50" Caption="Setting Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="SettingName" CasedName="settingName" />
        <orm:Parameter Name="@Setting" Direction="IN" MaxLength="50" Caption="Setting" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Setting" CasedName="setting" />
      </orm:CreateSP>
      <orm:RetrieveSP Name="Select_UserSetting" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserSettingGuid" Direction="IN" MaxLength="0" Caption="User Setting Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserSettingGuid" CasedName="userSettingGuid" />
      </orm:RetrieveSP>
      <orm:UpdateSP Name="Update_UserSetting" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserSettingGuid" Direction="IN" MaxLength="0" Caption="User Setting Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserSettingGuid" CasedName="userSettingGuid" />
        <orm:Parameter Name="@UserGuid" Direction="IN" MaxLength="0" Caption="User Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserGuid" CasedName="userGuid" />
        <orm:Parameter Name="@SettingName" Direction="IN" MaxLength="50" Caption="Setting Name" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="SettingName" CasedName="settingName" />
        <orm:Parameter Name="@Setting" Direction="IN" MaxLength="50" Caption="Setting" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" ShortNETType="String" PropertyName="Setting" CasedName="setting" />
      </orm:UpdateSP>
      <orm:DeleteSP Name="Delete_UserSetting" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM">
        <orm:Parameter Name="@UserSettingGuid" Direction="IN" MaxLength="0" Caption="User Setting Guid" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" ShortNETType="Guid" PropertyName="UserSettingGuid" CasedName="userSettingGuid" />
      </orm:DeleteSP>
      <orm:SetSelectSP Name="SelectAll_UserSetting" Modified="12/29/2007 2:58:24 PM" Created="12/29/2007 2:58:24 PM" />
      <orm:ForeignKeyTables />
      <orm:ChildCollections EverythingFlag="2" />
      <orm:Properties>
        <orm:Property Name="UserSettingGuid" ColumnName="UserSettingGuid" TableName="UserSetting" NETType="System.Guid" Caption="User Setting Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="true" ReadOnly="false" Ordinal="1" OriginalName="UserSettingGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userSettingGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="UserGuid" ColumnName="UserGuid" TableName="UserSetting" NETType="System.Guid" Caption="User Guid" ShortNETType="Guid" VBTypeAlias="System.Guid" CSharpType="System.Guid" VBNETType="System.Guid" AllowNulls="false" BaseNETType="System.Guid" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" Ordinal="2" OriginalName="UserGuid" SQLType="uniqueidentifier" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="userGuid">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="SettingName" ColumnName="SettingName" TableName="UserSetting" NETType="System.String" Caption="Setting Name" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="3" OriginalName="SettingName" SQLType="nvarchar" Unique="false" UseForDesc="true" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="settingName">
          <orm:PropertyPrivileges />
        </orm:Property>
        <orm:Property Name="Setting" ColumnName="Setting" TableName="UserSetting" NETType="System.String" Caption="Setting" ShortNETType="String" VBTypeAlias="String" CSharpType="string" VBNETType="System.String" AllowNulls="false" BaseNETType="System.String" Empty="" IsAutoIncrement="false" IsComputed="false" IsPrimaryKey="false" ReadOnly="false" MaxLength="50" Ordinal="4" OriginalName="Setting" SQLType="nvarchar" Unique="false" UseForDesc="false" ForeignKeyCount="0" Default="" DefaultVB="" DefaultCSharp="" CasedName="setting">
          <orm:PropertyPrivileges />
        </orm:Property>
      </orm:Properties>
      <orm:ClassPrivileges>
        <orm:ClassPrivilege Grantee="CorporateAdmin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Admin" Rights="CRUDS" />
        <orm:ClassPrivilege Grantee="Sales" Rights="R" />
        <orm:ClassPrivilege Grantee="Purchasing" Rights="R" />
        <orm:ClassPrivilege Grantee="&lt;DebugAll&gt;" Rights="CRUDS" />
      </orm:ClassPrivileges>
    </orm:Object>
  </orm:Assembly>
</orm:MappingRoot>